You are currently reviewing an older revision of this page.
When executing a Service Manager script in the <APPIAN_HOME>/services/bin directory, the following error is returned:
<APPIAN_HOME>/services/bin
Exception thrown while attempting to retrieve process info for java process with main Class name QuorumPeerMain. java.io.IOException: Cannot run program "jps": error=2, No such file or directory...Caused by: java.io.IOException: error=2, No such file or directory
This error is returned when the JAVA_HOME path is set to JRE, rather than JDK. As per the Appian system requirements, JDK is the supported option.
JAVA_HOME
To check the JAVA_HOME variable:
echo $JAVA_HOME
To resolve the issue, follow the Appian documentation on setting up the JAVA_HOME and PATH variables to point to the JDK.
PATH
This article applies to Appian 17.3 and later.
Last Reviewed: April 2018