if running configtool.sh get no response with CA OM Web Viewer 12.1

Document ID : KB000117793
Last Modified Date : 10/12/2018
Show Technical Document Details
Issue:
When entering the path cd /u/users/r12/runtime/omweb/util/ and then ./configtool.sh get no response, and I see it in the /logs/configtool.log message Could not create the Java virtual machine. JVMJ9VM015W Initialization error for library j9jit24(11): cannot initialize JIT Could not create the Java virtual machine.
Cause:
The JAVA_HOME was not defined correctly as a system Environment Variable
Resolution:
The JAVA_HOME variable must point to the system java path. 

For example:

export JAVA_HOME=/sys/java64bt/v8r0m0/usr/lpp/java/J8.0_64 

depending on what Java is installed and where it is located.