IBM Support

TRIRIGA installer on Unix doesn't see the JDK that is installed

Question & Answer


Question

I have a valid JDK installed and my PATH is set up correctly. Why is the TRIRIGA installer telling me that no Java virtual machine could be found in my PATH and that I must install a VM prior to running the install?

Answer

If you are running the TRIRIGA installer on Linux and getting the following ''No Java virtual machine could be found" error...:

bash-4.1$ ./install_tririga_v3.5.1_Linux.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
.....No Java virtual machine could be found from your PATH environment variable. You must install a VM prior to running this program.

... even though Java is in your path:

bash-4.1$ echo $PATH
/sbin:/bin:/usr/sbin:/u1/jdk1.8.0_91/bin

... and the Java you have installed is a 64-bit JDK and the version required by the TRIRIGA platform installer you are running:

bash-4.1$ which java
/u1/jdk1.8.0_91/bin/java

bash-4.1$ java -version
java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)

... most likely the problem is that your JAVA_HOME environment variable is not set. The JAVA_HOME environment variable needs to be set to the directory in which your JDK is installed:

bash-4.1$ set JAVA_HOME=/u1/jdk1.8.0_91 ; export JAVA_HOME

If you are getting the ''No Java virtual machine could be found" error message and your JAVA_HOME environment variable is not set, setting it and rerunning the platform installer command should resolve the problem:

bash-4.1$ set JAVA_HOME=/u1/jdk1.8.0_91 ; export JAVA_HOME
bash-4.1$ ./install_tririga_v3.5.1_Linux.bin

NOTE: Open JDK must be removed from any Linux environment before installing TRIRIGA

[{"Product":{"code":"SSHEB3","label":"IBM TRIRIGA Application Platform"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"3.5.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
17 June 2018

UID

swg21986190