<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>KB-1548 Cannot run program "jps" error when starting Service Manager</title><link>https://community.appian.com/support/w/kb/900/kb-1548-cannot-run-program-jps-error-when-starting-service-manager</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1548 Cannot run program "jps" error when starting Service Manager</title><link>https://community.appian.com/support/w/kb/900/kb-1548-cannot-run-program-jps-error-when-starting-service-manager</link><pubDate>Wed, 23 Mar 2022 02:55:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:879ed773-d50a-419f-bcfd-2f2f7b728280</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/900/kb-1548-cannot-run-program-jps-error-when-starting-service-manager#comments</comments><description>Current Revision posted to Appian Knowledge Base by Parmida Borhani on 3/23/2022 2:55:38 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When executing a Service Manager script in the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/services/bin&lt;/code&gt; directory, one of the following errors are returned:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;pre&gt;Exception thrown while attempting to retrieve process info for java process with main Class name QuorumPeerMain. java.io.IOException: Cannot run program &amp;quot;jps&amp;quot;: error=2, No such file or directory&lt;br /&gt;...&lt;br /&gt;Caused by: java.io.IOException: error=2, No such file or directory&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;pre&gt;Exception thrown while attempting to retrieve process info for java process with main Class name QuorumPeerMain. java.io.IOException: Cannot run program &amp;quot;jps&amp;quot;: error=13, Permission denied&lt;/pre&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;There are several possible causes for this issue.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;If you are using Oracle Java, this error is returned when the &lt;code&gt;JAVA_HOME&lt;/code&gt; path is set to JRE, rather than JDK. As per the&amp;nbsp;&lt;a class="external-link" href="https://docs.appian.com/suite/help/latest/System_Requirements.html#application-servers" rel="nofollow"&gt;Appian System Requirements&lt;/a&gt;, JDK is the supported option. To check the&amp;nbsp;&lt;code&gt;JAVA_HOME&lt;/code&gt; variable:
&lt;ul&gt;
&lt;li&gt;In Windows, right click My Computer and select Properties. On the Advanced tab, select Environment Variables, and edit &lt;code&gt;JAVA_HOME&lt;/code&gt; to view the JDK path.&lt;/li&gt;
&lt;li&gt;In Linux, type &lt;code&gt;echo $JAVA_HOME&lt;/code&gt; in a terminal to view the Java path.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;If you are using OpenJDK,&amp;nbsp;the basic download of OpenJDK does not ship with JPS.&lt;/li&gt;
&lt;li&gt;An external program, such an antivirus software, kills the Service Manager script before the Appian services start.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;To resolve the issue, follow the&amp;nbsp;&lt;a class="external-link" href="https://docs.appian.com/suite/help/latest/Prerequisites.html#set-the-java_home-and-path-environment-variables" rel="nofollow"&gt;Appian Installation Prerequisites&lt;/a&gt;&amp;nbsp;documentation to set up the&amp;nbsp;&lt;code&gt;JAVA_HOME&lt;/code&gt; and &lt;code&gt;PATH&lt;/code&gt; variables to point to the JDK. If using OpenJDK, ensure that the developer edition is being used.&lt;/li&gt;
&lt;li&gt;Ensure the Appian user has appropriate permissions to run &lt;code&gt;jps&lt;/code&gt; command.&lt;/li&gt;
&lt;li&gt;Ensure external programs do not interfere with the Appian startup.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.3 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;March 2022&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: java, installation, infrastructure, service manager&lt;/div&gt;
</description></item><item><title>KB-1548 Cannot run program "jps" error when starting Service Manager</title><link>https://community.appian.com/support/w/kb/900/kb-1548-cannot-run-program-jps-error-when-starting-service-manager/revision/12</link><pubDate>Thu, 14 Feb 2019 17:21:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:879ed773-d50a-419f-bcfd-2f2f7b728280</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/900/kb-1548-cannot-run-program-jps-error-when-starting-service-manager#comments</comments><description>Revision 12 posted to Appian Knowledge Base by Jordan Horwat on 2/14/2019 5:21:18 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;h3&gt;Symptom 1&lt;/h3&gt;
&lt;p&gt;When executing a Service Manager script in the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/services/bin&lt;/code&gt; directory, the following error is returned:&lt;/p&gt;
&lt;pre&gt;Exception thrown while attempting to retrieve process info for java process with main Class name QuorumPeerMain. java.io.IOException: Cannot run program &amp;quot;jps&amp;quot;: error=2, No such file or directory&lt;br /&gt;...&lt;br /&gt;Caused by: java.io.IOException: error=2, No such file or directory&lt;/pre&gt;
&lt;h3&gt;&lt;br /&gt;Symptom 2&lt;/h3&gt;
&lt;p&gt;Zookeeper service initially starts successfully as per the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;\logs\service-manager\zookeeper\zookeeper.log&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;2019-01-22 21:01:44,744&amp;nbsp;&lt;span class="error"&gt;[myid:1]&lt;/span&gt;&amp;nbsp;- INFO&amp;nbsp;&lt;span class="error"&gt;[main:NIOServerCnxnFactory@89]&lt;/span&gt;&amp;nbsp;- binding to port 0.0.0.0/0.0.0.0:2181&lt;br /&gt;2019-01-22 21:01:44,747&amp;nbsp;&lt;span class="error"&gt;[myid:1]&lt;/span&gt;&amp;nbsp;- INFO&amp;nbsp;&lt;span class="error"&gt;[main:QuorumPeer@1158]&lt;/span&gt;&amp;nbsp;- tickTime set to 2000&lt;/pre&gt;
&lt;p&gt;However, Zookeeper then errors out immediately with the following error in the&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;\logs\service-manager\zookeeper\zookeeper.log&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;2019-01-22 21:02:04,966&amp;nbsp;&lt;span class="error"&gt;[myid:1]&lt;/span&gt;&amp;nbsp;- INFO&amp;nbsp;&lt;span class="error"&gt;[main:NIOServerCnxnFactory@89]&lt;/span&gt;&amp;nbsp;- binding to port 0.0.0.0/0.0.0.0:2181&lt;br /&gt;2019-01-22 21:02:04,967&amp;nbsp;&lt;span class="error"&gt;[myid:1]&lt;/span&gt;&amp;nbsp;- ERROR&amp;nbsp;&lt;span class="error"&gt;[main:QuorumPeerMain@92]&lt;/span&gt;&amp;nbsp;- Unexpected exception, exiting abnormally&lt;br /&gt;java.net.BindException: Address already in use&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;There are two possible causes for this issue.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;If you are using Oracle Java, this error is returned when the &lt;code&gt;JAVA_HOME&lt;/code&gt; path is set to JRE, rather than JDK. As per the&amp;nbsp;&lt;a class="external-link" href="https://docs.appian.com/suite/help/latest/System_Requirements.html#application-servers" rel="nofollow"&gt;Appian System Requirements&lt;/a&gt;, JDK is the supported option. To check the&amp;nbsp;&lt;code&gt;JAVA_HOME&lt;/code&gt; variable:
&lt;ul&gt;
&lt;li&gt;In Windows, right click My Computer and select Properties. On the Advanced tab, select Environment Variables, and edit &lt;code&gt;JAVA_HOME&lt;/code&gt; to view the JDK path.&lt;/li&gt;
&lt;li&gt;In Linux, type &lt;code&gt;echo $JAVA_HOME&lt;/code&gt; in a terminal to view the Java path.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;If you are using OpenJDK,&amp;nbsp;the basic download of OpenJDK does not ship with JPS.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;To resolve the issue, follow the&amp;nbsp;&lt;a class="external-link" href="https://docs.appian.com/suite/help/latest/Prerequisites.html#set-the-java_home-and-path-environment-variables" rel="nofollow"&gt;Appian Installation Prerequisites&lt;/a&gt;&amp;nbsp;documentation to set up the&amp;nbsp;&lt;code&gt;JAVA_HOME&lt;/code&gt; and &lt;code&gt;PATH&lt;/code&gt; variables to point to the JDK. If using OpenJDK, ensure that the developer edition is being used.&lt;/li&gt;
&lt;li&gt;Ensure the Appian user has appropriate permissions to run &lt;code&gt;jps&lt;/code&gt; command.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.3 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;February&amp;nbsp;2019&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: java, installation, infrastructure, service manager&lt;/div&gt;
</description></item><item><title>KB-1548 Cannot run program "jps" error when starting Service Manager</title><link>https://community.appian.com/support/w/kb/900/kb-1548-cannot-run-program-jps-error-when-starting-service-manager/revision/11</link><pubDate>Thu, 14 Feb 2019 17:20:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:879ed773-d50a-419f-bcfd-2f2f7b728280</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/900/kb-1548-cannot-run-program-jps-error-when-starting-service-manager#comments</comments><description>Revision 11 posted to Appian Knowledge Base by Jordan Horwat on 2/14/2019 5:20:59 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;h3&gt;Symptom 1&lt;/h3&gt;
&lt;p&gt;When executing a Service Manager script in the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/services/bin&lt;/code&gt; directory, the following error is returned:&lt;/p&gt;
&lt;pre&gt;Exception thrown while attempting to retrieve process info for java process with main Class name QuorumPeerMain. java.io.IOException: Cannot run program &amp;quot;jps&amp;quot;: error=2, No such file or directory&lt;br /&gt;...&lt;br /&gt;Caused by: java.io.IOException: error=2, No such file or directory&lt;/pre&gt;
&lt;h3&gt;&lt;br /&gt;Symptom 2&lt;/h3&gt;
&lt;p&gt;Zookeeper service initially starts successfully as per the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;\logs\service-manager\zookeeper\zookeeper.log&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;2019-01-22 21:01:44,744&amp;nbsp;&lt;span class="error"&gt;[myid:1]&lt;/span&gt;&amp;nbsp;- INFO&amp;nbsp;&lt;span class="error"&gt;[main:NIOServerCnxnFactory@89]&lt;/span&gt;&amp;nbsp;- binding to port 0.0.0.0/0.0.0.0:2181&lt;br /&gt;2019-01-22 21:01:44,747&amp;nbsp;&lt;span class="error"&gt;[myid:1]&lt;/span&gt;&amp;nbsp;- INFO&amp;nbsp;&lt;span class="error"&gt;[main:QuorumPeer@1158]&lt;/span&gt;&amp;nbsp;- tickTime set to 2000&lt;/pre&gt;
&lt;p&gt;However, Zookeeper then errors out immediately with the following error in the&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;\logs\service-manager\zookeeper\zookeeper.log&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;2019-01-22 21:02:04,966&amp;nbsp;&lt;span class="error"&gt;[myid:1]&lt;/span&gt;&amp;nbsp;- INFO&amp;nbsp;&lt;span class="error"&gt;[main:NIOServerCnxnFactory@89]&lt;/span&gt;&amp;nbsp;- binding to port 0.0.0.0/0.0.0.0:2181&lt;br /&gt;2019-01-22 21:02:04,967&amp;nbsp;&lt;span class="error"&gt;[myid:1]&lt;/span&gt;&amp;nbsp;- ERROR&amp;nbsp;&lt;span class="error"&gt;[main:QuorumPeerMain@92]&lt;/span&gt;&amp;nbsp;- Unexpected exception, exiting abnormally&lt;br /&gt;java.net.BindException: Address already in use&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;There are two possible causes for this issue.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;If you are using Oracle Java, this error is returned when the &lt;code&gt;JAVA_HOME&lt;/code&gt; path is set to JRE, rather than JDK. As per the&amp;nbsp;&lt;a class="external-link" href="https://docs.appian.com/suite/help/latest/System_Requirements.html#application-servers" rel="nofollow"&gt;Appian System Requirements&lt;/a&gt;, JDK is the supported option. To check the&amp;nbsp;&lt;code&gt;JAVA_HOME&lt;/code&gt; variable:
&lt;ul&gt;
&lt;li&gt;In Windows, right click My Computer and select Properties. On the Advanced tab, select Environment Variables, and edit &lt;code&gt;JAVA_HOME&lt;/code&gt; to view the JDK path.&lt;/li&gt;
&lt;li&gt;In Linux, type &lt;code&gt;echo $JAVA_HOME&lt;/code&gt; in a terminal to view the Java path.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;If you are using OpenJDK,&amp;nbsp;the basic download of OpenJDK does not ship with JPS.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;To resolve the issue, follow the&amp;nbsp;&lt;a class="external-link" href="https://docs.appian.com/suite/help/latest/Prerequisites.html#set-the-java_home-and-path-environment-variables" rel="nofollow"&gt;Appian Installation Prerequisites&lt;/a&gt;&amp;nbsp;documentation to set up the&amp;nbsp;&lt;code&gt;JAVA_HOME&lt;/code&gt; and &lt;code&gt;PATH&lt;/code&gt; variables to point to the JDK. If using OpenJDK, ensure that the developer edition is being used.&lt;/li&gt;
&lt;li&gt;Ensure the Appian user has appropriate permissions to run &amp;quot;jps&amp;quot; command.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.3 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;February&amp;nbsp;2019&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: java, installation, infrastructure, service manager&lt;/div&gt;
</description></item><item><title>KB-1548 Cannot run program "jps" error when starting Service Manager</title><link>https://community.appian.com/support/w/kb/900/kb-1548-cannot-run-program-jps-error-when-starting-service-manager/revision/10</link><pubDate>Fri, 08 Feb 2019 16:10:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:879ed773-d50a-419f-bcfd-2f2f7b728280</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/900/kb-1548-cannot-run-program-jps-error-when-starting-service-manager#comments</comments><description>Revision 10 posted to Appian Knowledge Base by Jordan Horwat on 2/8/2019 4:10:01 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When executing a Service Manager script in the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/services/bin&lt;/code&gt; directory, the following error is returned:&lt;/p&gt;
&lt;pre&gt;Exception thrown while attempting to retrieve process info for java process with main Class name QuorumPeerMain. java.io.IOException: Cannot run program &amp;quot;jps&amp;quot;: error=2, No such file or directory&lt;br /&gt;...&lt;br /&gt;Caused by: java.io.IOException: error=2, No such file or directory&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;There are two possible causes for this issue.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;If you are using Oracle Java, this error is returned when the &lt;code&gt;JAVA_HOME&lt;/code&gt; path is set to JRE, rather than JDK. As per the&amp;nbsp;&lt;a class="external-link" href="https://docs.appian.com/suite/help/latest/System_Requirements.html#application-servers" rel="nofollow"&gt;Appian System Requirements&lt;/a&gt;, JDK is the supported option. To check the&amp;nbsp;&lt;code&gt;JAVA_HOME&lt;/code&gt; variable:
&lt;ul&gt;
&lt;li&gt;In Windows, right click My Computer and select Properties. On the Advanced tab, select Environment Variables, and edit &lt;code&gt;JAVA_HOME&lt;/code&gt; to view the JDK path.&lt;/li&gt;
&lt;li&gt;In Linux, type &lt;code&gt;echo $JAVA_HOME&lt;/code&gt; in a terminal to view the Java path.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;If you are using OpenJDK,&amp;nbsp;the basic download of OpenJDK does not ship with JPS.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To resolve the issue, follow the&amp;nbsp;&lt;a class="external-link" href="https://docs.appian.com/suite/help/latest/Prerequisites.html#set-the-java_home-and-path-environment-variables" rel="nofollow"&gt;Appian Installation Prerequisites&lt;/a&gt;&amp;nbsp;documentation to set up the&amp;nbsp;&lt;code&gt;JAVA_HOME&lt;/code&gt; and &lt;code&gt;PATH&lt;/code&gt; variables to point to the JDK. If using OpenJDK, ensure that the developer edition is being used.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.3 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;February&amp;nbsp;2019&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: java, installation, infrastructure, service manager&lt;/div&gt;
</description></item><item><title>KB-1548 Cannot run program "jps" error when starting Service Manager</title><link>https://community.appian.com/support/w/kb/900/kb-1548-cannot-run-program-jps-error-when-starting-service-manager/revision/9</link><pubDate>Fri, 08 Feb 2019 16:08:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:879ed773-d50a-419f-bcfd-2f2f7b728280</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/900/kb-1548-cannot-run-program-jps-error-when-starting-service-manager#comments</comments><description>Revision 9 posted to Appian Knowledge Base by Jordan Horwat on 2/8/2019 4:08:53 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When executing a Service Manager script in the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/services/bin&lt;/code&gt; directory, the following error is returned:&lt;/p&gt;
&lt;pre&gt;Exception thrown while attempting to retrieve process info for java process with main Class name QuorumPeerMain. java.io.IOException: Cannot run program &amp;quot;jps&amp;quot;: error=2, No such file or directory&lt;br /&gt;...&lt;br /&gt;Caused by: java.io.IOException: error=2, No such file or directory&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;There are two possible causes for this issue.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;If you are using Oracle Java, this error is returned when the &lt;code&gt;JAVA_HOME&lt;/code&gt; path is set to JRE, rather than JDK. As per the&amp;nbsp;&lt;a class="external-link" href="https://docs.appian.com/suite/help/latest/System_Requirements.html#application-servers" rel="nofollow"&gt;Appian System Requirements&lt;/a&gt;, JDK is the supported option. To check the&amp;nbsp;&lt;code&gt;JAVA_HOME&lt;/code&gt; variable:
&lt;ul&gt;
&lt;li&gt;In Windows, right click My Computer and select Properties. On the Advanced tab, select Environment Variables, and edit &lt;code&gt;JAVA_HOME&lt;/code&gt; to view the JDK path.&lt;/li&gt;
&lt;li&gt;In Linux, type &lt;code&gt;echo $JAVA_HOME&lt;/code&gt; in a terminal to view the Java path.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;If you are using OpenJDK,&amp;nbsp;the basic download of OpenJDK does not ship with JPS.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To resolve the issue, follow the&amp;nbsp;&lt;a class="external-link" href="https://docs.appian.com/suite/help/latest/Prerequisites.html#set-the-java_home-and-path-environment-variables" rel="nofollow"&gt;Appian documentation&lt;/a&gt;&amp;nbsp;on setting up the&amp;nbsp;JAVA_HOME and PATH variables to point to the JDK. If using OpenJDK, ensure that the developer edition is being used.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.3 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;February&amp;nbsp;2019&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: java, infrastructure, service manager&lt;/div&gt;
</description></item><item><title>KB-1548 Cannot run program "jps" error when starting Service Manager</title><link>https://community.appian.com/support/w/kb/900/kb-1548-cannot-run-program-jps-error-when-starting-service-manager/revision/8</link><pubDate>Thu, 03 Jan 2019 23:58:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:879ed773-d50a-419f-bcfd-2f2f7b728280</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/900/kb-1548-cannot-run-program-jps-error-when-starting-service-manager#comments</comments><description>Revision 8 posted to Appian Knowledge Base by Parmida Borhani on 1/3/2019 11:58:32 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When executing a Service Manager script in the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/services/bin&lt;/code&gt; directory, the following error is returned:&lt;/p&gt;
&lt;pre&gt;Exception thrown while attempting to retrieve process info for java process with main Class name QuorumPeerMain. java.io.IOException: Cannot run program &amp;quot;jps&amp;quot;: error=2, No such file or directory&lt;br /&gt;...&lt;br /&gt;Caused by: java.io.IOException: error=2, No such file or directory&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;There are two possible causes for this issue.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;If you are using Oracle Java, this error is returned when the&amp;nbsp;&lt;tt&gt;JAVA_HOME&lt;/tt&gt;&amp;nbsp;path is set to JRE, rather than JDK. As per the&amp;nbsp;&lt;a class="external-link" href="https://docs.appian.com/suite/help/latest/System_Requirements.html#application-servers" rel="nofollow"&gt;Appian system requirements&lt;/a&gt;, JDK is the supported option. To check the&amp;nbsp;&lt;tt&gt;JAVA_HOME&lt;/tt&gt;&amp;nbsp;variable:
&lt;ul&gt;
&lt;li&gt;In Windows, right click My Computer and select Properties. On the Advanced tab, select Environment Variables, and edit JAVA_HOME to view the JDK path.&lt;/li&gt;
&lt;li&gt;In Linux, type&amp;nbsp;&lt;tt&gt;echo $JAVA_HOME&lt;/tt&gt;&amp;nbsp;in a terminal to view the Java path.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;If you are using OpenJDK,&amp;nbsp;the basic download of OpenJDK does not ship with JPS.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To resolve the issue, follow the&amp;nbsp;&lt;a class="external-link" href="https://docs.appian.com/suite/help/latest/Prerequisites.html#set-the-java_home-and-path-environment-variables" rel="nofollow"&gt;Appian documentation&lt;/a&gt;&amp;nbsp;on setting up the&amp;nbsp;&lt;tt&gt;JAVA_HOME&lt;/tt&gt;&amp;nbsp;and&amp;nbsp;&lt;tt&gt;PATH&lt;/tt&gt;&amp;nbsp;variables to point to the JDK. If using OpenJDK, ensure that the developer edition is being used.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.3 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;January 2019&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: java, infrastructure, service manager&lt;/div&gt;
</description></item><item><title>KB-1548 Cannot run program "jps" error when starting Service Manager</title><link>https://community.appian.com/support/w/kb/900/kb-1548-cannot-run-program-jps-error-when-starting-service-manager/revision/7</link><pubDate>Mon, 23 Jul 2018 03:22:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:879ed773-d50a-419f-bcfd-2f2f7b728280</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/900/kb-1548-cannot-run-program-jps-error-when-starting-service-manager#comments</comments><description>Revision 7 posted to Appian Knowledge Base by Parmida Borhani on 7/23/2018 3:22:32 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When executing a Service Manager script in the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/services/bin&lt;/code&gt; directory, the following error is returned:&lt;/p&gt;
&lt;pre&gt;Exception thrown while attempting to retrieve process info for java process with main Class name QuorumPeerMain. java.io.IOException: Cannot run program &amp;quot;jps&amp;quot;: error=2, No such file or directory&lt;br /&gt;...&lt;br /&gt;Caused by: java.io.IOException: error=2, No such file or directory&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This error is returned when the &lt;code&gt;JAVA_HOME&lt;/code&gt; path is set to JRE, rather than JDK. As per the &lt;a href="https://docs.appian.com/suite/help/latest/System_Requirements.html#application-servers" target="_blank"&gt;Appian system requirements&lt;/a&gt;, JDK is the supported option.&lt;/p&gt;
&lt;p&gt;To check the &lt;code&gt;JAVA_HOME&lt;/code&gt; variable:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In Windows, right click My Computer and select Properties. On the Advanced tab, select Environment Variables, and edit JAVA_HOME to view the JDK path.&lt;/li&gt;
&lt;li&gt;In Linux, type &lt;code&gt;echo $JAVA_HOME&lt;/code&gt; in a terminal to view the Java path.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To resolve the issue, follow the &lt;a href="https://docs.appian.com/suite/help/latest/Prerequisites.html#set-the-java_home-and-path-environment-variables" target="_blank"&gt;Appian documentation&lt;/a&gt; on setting up the&amp;nbsp;&lt;code&gt;JAVA_HOME&lt;/code&gt;&amp;nbsp;and &lt;code&gt;PATH&lt;/code&gt; variables to point to the JDK.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.3 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed: April 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: infrastructure, service manager&lt;/div&gt;
</description></item><item><title>KB-1548 Cannot run program "jps" error when starting Service Manager</title><link>https://community.appian.com/support/w/kb/900/kb-1548-cannot-run-program-jps-error-when-starting-service-manager/revision/6</link><pubDate>Fri, 13 Apr 2018 00:57:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:879ed773-d50a-419f-bcfd-2f2f7b728280</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/900/kb-1548-cannot-run-program-jps-error-when-starting-service-manager#comments</comments><description>Revision 6 posted to Appian Knowledge Base by Parmida Borhani on 4/13/2018 12:57:47 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When executing a Service Manager script in the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/services/bin&lt;/code&gt; directory, the following error is returned:&lt;/p&gt;
&lt;pre&gt;Exception thrown while attempting to retrieve process info for java process with main Class name QuorumPeerMain. java.io.IOException: Cannot run program &amp;quot;jps&amp;quot;: error=2, No such file or directory&lt;br /&gt;...&lt;br /&gt;Caused by: java.io.IOException: error=2, No such file or directory&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This error is returned when the &lt;code&gt;JAVA_HOME&lt;/code&gt; path is set to JRE, rather than JDK. As per the &lt;a href="https://docs.appian.com/suite/help/latest/System_Requirements.html#application-servers" target="_blank"&gt;Appian system requirements&lt;/a&gt;, JDK is the supported option.&lt;/p&gt;
&lt;p&gt;To check the &lt;code&gt;JAVA_HOME&lt;/code&gt; variable:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In Windows, right click My Computer and select Properties. On the Advanced tab, select Environment Variables, and edit JAVA_HOME to view the JDK path.&lt;/li&gt;
&lt;li&gt;In Linux, type &lt;code&gt;echo $JAVA_HOME&lt;/code&gt; in a terminal to view the Java path.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To resolve the issue, follow the &lt;a href="https://docs.appian.com/suite/help/latest/Prerequisites.html#set-the-java_home-and-path-environment-variables" target="_blank"&gt;Appian documentation&lt;/a&gt; on setting up the&amp;nbsp;&lt;code&gt;JAVA_HOME&lt;/code&gt;&amp;nbsp;and &lt;code&gt;PATH&lt;/code&gt; variables to point to the JDK.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.3 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed: April 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: service manager&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Cannot run program "jps" error when starting Service Manager</title><link>https://community.appian.com/support/w/kb/900/kb-1548-cannot-run-program-jps-error-when-starting-service-manager/revision/5</link><pubDate>Thu, 12 Apr 2018 20:56:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:879ed773-d50a-419f-bcfd-2f2f7b728280</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/900/kb-1548-cannot-run-program-jps-error-when-starting-service-manager#comments</comments><description>Revision 5 posted to Appian Knowledge Base by Parmida Borhani on 4/12/2018 8:56:25 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When executing a Service Manager script in the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/services/bin&lt;/code&gt; directory, the following error is returned:&lt;/p&gt;
&lt;pre&gt;Exception thrown while attempting to retrieve process info for java process with main Class name QuorumPeerMain. java.io.IOException: Cannot run program &amp;quot;jps&amp;quot;: error=2, No such file or directory&lt;br /&gt;...&lt;br /&gt;Caused by: java.io.IOException: error=2, No such file or directory&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This error is returned when the &lt;code&gt;JAVA_HOME&lt;/code&gt; path is set to JRE, rather than JDK. As per the &lt;a href="https://docs.appian.com/suite/help/latest/System_Requirements.html#application-servers" target="_blank"&gt;Appian system requirements&lt;/a&gt;, JDK is the supported option.&lt;/p&gt;
&lt;p&gt;To check the &lt;code&gt;JAVA_HOME&lt;/code&gt; variable:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In Windows, right click My Computer and select Properties. On the Advanced tab, select Environment Variables, and edit JAVA_HOME to view the JDK path.&lt;/li&gt;
&lt;li&gt;In Linux, type &lt;code&gt;echo $JAVA_HOME&lt;/code&gt; in a terminal to view the Java path.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To resolve the issue, follow the &lt;a href="https://docs.appian.com/suite/help/latest/Prerequisites.html#set-the-java_home-and-path-environment-variables" target="_blank"&gt;Appian documentation&lt;/a&gt; on setting up the&amp;nbsp;&lt;code&gt;JAVA_HOME&lt;/code&gt;&amp;nbsp;and &lt;code&gt;PATH&lt;/code&gt; variables to point to the JDK.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.3 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed: April 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: service manager&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Cannot run program "jps" error when starting Service Manager</title><link>https://community.appian.com/support/w/kb/900/kb-1548-cannot-run-program-jps-error-when-starting-service-manager/revision/4</link><pubDate>Thu, 12 Apr 2018 17:51:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:879ed773-d50a-419f-bcfd-2f2f7b728280</guid><dc:creator>Khalil Ben Naceur</dc:creator><comments>https://community.appian.com/support/w/kb/900/kb-1548-cannot-run-program-jps-error-when-starting-service-manager#comments</comments><description>Revision 4 posted to Appian Knowledge Base by Khalil Ben Naceur on 4/12/2018 5:51:36 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When executing a Service Manager script in the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/services/bin&lt;/code&gt; directory, the following error is returned:&lt;/p&gt;
&lt;pre&gt;Exception thrown while attempting to retrieve process info for java process with main Class name QuorumPeerMain. java.io.IOException: Cannot run program &amp;quot;jps&amp;quot;: error=2, No such file or directory&lt;br /&gt;...&lt;br /&gt;Caused by: java.io.IOException: error=2, No such file or directory&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This error is returned when the &lt;code&gt;JAVA_HOME&lt;/code&gt; path is set to JRE, rather than JDK. As per the &lt;a href="https://docs.appian.com/suite/help/latest/System_Requirements.html#application-servers" target="_blank"&gt;Appian system requirements&lt;/a&gt;, JDK is the supported option.&lt;/p&gt;
&lt;p&gt;To check the &lt;code&gt;JAVA_HOME&lt;/code&gt; variable:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In Windows, right click My Computer and select Properties. On the Advanced tab, select Environment Variables, and edit JAVA_HOME to view the JDK path.&lt;/li&gt;
&lt;li&gt;In Linux, type &lt;code&gt;echo $JAVA_HOME&lt;/code&gt; in a terminal to view the Java path.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To resolve the issue, follow the &lt;a href="https://docs.appian.com/suite/help/18.1/Prerequisites.html#set-the-java_home-and-path-environment-variables"&gt;Appian documentation&lt;/a&gt; on setting up the&amp;nbsp;&lt;code&gt;JAVA_HOME&lt;/code&gt;&amp;nbsp;and &lt;code&gt;PATH&lt;/code&gt; variables to point to the JDK.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.3 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed: April 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: service manager&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Cannot run program "jps" error when starting Service Manager</title><link>https://community.appian.com/support/w/kb/900/kb-1548-cannot-run-program-jps-error-when-starting-service-manager/revision/3</link><pubDate>Thu, 12 Apr 2018 17:51:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:879ed773-d50a-419f-bcfd-2f2f7b728280</guid><dc:creator>Khalil Ben Naceur</dc:creator><comments>https://community.appian.com/support/w/kb/900/kb-1548-cannot-run-program-jps-error-when-starting-service-manager#comments</comments><description>Revision 3 posted to Appian Knowledge Base by Khalil Ben Naceur on 4/12/2018 5:51:18 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When executing a Service Manager script in the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/services/bin&lt;/code&gt; directory, the following error is returned:&lt;/p&gt;
&lt;pre&gt;Exception thrown while attempting to retrieve process info for java process with main Class name QuorumPeerMain. java.io.IOException: Cannot run program &amp;quot;jps&amp;quot;: error=2, No such file or directory&lt;br /&gt;...&lt;br /&gt;Caused by: java.io.IOException: error=2, No such file or directory&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This error is returned when the &lt;code&gt;JAVA_HOME&lt;/code&gt; path is set to JRE, rather than JDK. As per the &lt;a href="https://docs.appian.com/suite/help/latest/System_Requirements.html#application-servers" target="_blank"&gt;Appian system requirements&lt;/a&gt;, JDK is the supported option.&lt;/p&gt;
&lt;p&gt;To check the &lt;code&gt;JAVA_HOME&lt;/code&gt; variable:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In Windows, right click My Computer and select Properties. On the Advanced tab, select Environment Variables, and edit JAVA_HOME to view the JDK path.&lt;/li&gt;
&lt;li&gt;In Linux, type &lt;code&gt;echo $JAVA_HOME&lt;/code&gt; in a terminal to view the Java path.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To resolve the issue, follow the &lt;a href="https://docs.appian.com/suite/help/18.1/Prerequisites.html#set-the-java_home-and-path-environment-variables"&gt;Appian documentation&lt;/a&gt; on setting up the&amp;nbsp;&lt;code&gt;JAVA_HOME&lt;/code&gt;&amp;nbsp;and PATH variables to point to the JDK.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.3 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed: April 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: service manager&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Cannot run program "jps" error when starting Service Manager</title><link>https://community.appian.com/support/w/kb/900/kb-1548-cannot-run-program-jps-error-when-starting-service-manager/revision/2</link><pubDate>Fri, 06 Apr 2018 00:19:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:879ed773-d50a-419f-bcfd-2f2f7b728280</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/900/kb-1548-cannot-run-program-jps-error-when-starting-service-manager#comments</comments><description>Revision 2 posted to Appian Knowledge Base by Parmida Borhani on 4/6/2018 12:19:24 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When executing a Service Manager script in the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/services/bin&lt;/code&gt; directory, the following error is returned:&lt;/p&gt;
&lt;pre&gt;Exception thrown while attempting to retrieve process info for java process with main Class name QuorumPeerMain. java.io.IOException: Cannot run program &amp;quot;jps&amp;quot;: error=2, No such file or directory&lt;br /&gt;...&lt;br /&gt;Caused by: java.io.IOException: error=2, No such file or directory&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This error is returned when the &lt;code&gt;JAVA_HOME&lt;/code&gt; path is set to JRE, rather than JDK. As per the &lt;a href="https://docs.appian.com/suite/help/latest/System_Requirements.html#application-servers" target="_blank"&gt;Appian system requirements&lt;/a&gt;, JDK is the supported option.&lt;/p&gt;
&lt;p&gt;To check the &lt;code&gt;JAVA_HOME&lt;/code&gt; variable:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In Windows, right click My Computer and select Properties. On the Advanced tab, select Environment Variables, and edit JAVA_HOME to view the JDK path.&lt;/li&gt;
&lt;li&gt;In Linux, type &lt;code&gt;echo $JAVA_HOME&lt;/code&gt; in a terminal to view the Java path.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To resolve the issue, change the &lt;code&gt;JAVA_HOME&lt;/code&gt; path to point to the JDK:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In Windows, right click My Computer and select Properties. On the Advanced tab, select Environment Variables, and edit JAVA_HOME to point to the correct JDK path.&lt;/li&gt;
&lt;li&gt;In Linux, one way would be to run the following commands as the root user:
&lt;ol&gt;
&lt;li&gt;&lt;code&gt;export JAVA_HOME=&amp;lt;PATH_TO_JDK&amp;gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;export PATH=${PATH}:{JAVA_HOME}/bin&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.3 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed: April 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: service manager&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Cannot run program "jps" error when starting Service Manager</title><link>https://community.appian.com/support/w/kb/900/kb-1548-cannot-run-program-jps-error-when-starting-service-manager/revision/1</link><pubDate>Thu, 05 Apr 2018 20:56:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:879ed773-d50a-419f-bcfd-2f2f7b728280</guid><dc:creator>Khalil Ben Naceur</dc:creator><comments>https://community.appian.com/support/w/kb/900/kb-1548-cannot-run-program-jps-error-when-starting-service-manager#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Khalil Ben Naceur on 4/5/2018 8:56:20 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When executing a Service Manager script in the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/services/bin&lt;/code&gt; directory, the following error is returned:&lt;/p&gt;
&lt;pre&gt;Exception thrown while attempting to retrieve process info for java process with main Class name QuorumPeerMain. java.io.IOException: Cannot run program &amp;quot;jps&amp;quot;: error=2, No such file or directory&lt;br /&gt;...&lt;br /&gt;Caused by: java.io.IOException: error=2, No such file or directory&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This error is returned when the &lt;code&gt;JAVA_HOME&lt;/code&gt; path is set to JRE, rather than JDK. As per the &lt;a href="https://docs.appian.com/suite/help/*latest*/System_Requirements.html#application-servers"&gt;Appian system requirements&lt;/a&gt;, JDK is the supported option.&lt;/p&gt;
&lt;p&gt;To check the &lt;code&gt;JAVA_HOME&lt;/code&gt; variable:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In Windows, right click My Computer and select Properties. On the Advanced tab, select Environment Variables, and edit JAVA_HOME to view the JDK path.&lt;/li&gt;
&lt;li&gt;In Linux, type &lt;code&gt;echo $JAVA_HOME&lt;/code&gt; in a terminal to view the Java path.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To resolve the issue, change the &lt;code&gt;JAVA_HOME&lt;/code&gt; path to point to the JDK:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In Windows, right click My Computer and select Properties. On the Advanced tab, select Environment Variables, and edit JAVA_HOME to point to the correct JDK path.&lt;/li&gt;
&lt;li&gt;In Linux, one way would be to run the following commands as the root user:
&lt;ol&gt;
&lt;li&gt;&lt;code&gt;export JAVA_HOME=&amp;lt;PATH_TO_JDK&amp;gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;export PATH=${PATH}:{JAVA_HOME}/bin&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.3 and later&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: service manager&lt;/div&gt;
</description></item></channel></rss>