Java still not working for google_apps probe after installing java_jre probe
CA UIM google_apps Probe on Windows
Java version was not recognized by the robot.
On the robot machine where google_apps was installed, java -version command showed no output.
Fix is to install correct version of java and configure the PATH (on the robot machine)
java -version showed: "java is not recognized as a command "
The Nimsoft java_jre package had already been deployed to the robot where google_apps was deployed.
Users may set their Java path by right-clicking on 'My Computer' and selecting 'Properties'. Under the 'Advanced' tab, there is a button that allows you to set the 'Environment variables'. Click on this and alter the 'Path' variable so that it also contains the path to the Java executable.
java -version should show output like:
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
Then customer made the change and the output was then correct.
Customer added these environment variables.
NIM_JRE_HOME = jre\jre1.6.0_24
NIM_JRE_HOME_1_6_0 = jre\jre1.6.0_24
JAVA_HOME = C:\Program Files\Nimsoft\Nimsoft Robot x64\jre\jre1.6.0_24
JRE_HOME = C:\Program Files\Nimsoft\Nimsoft Robot x64\jre\jre1.6.0_24
JDK_HOME = C:\Program Files\Nimsoft\Nimsoft Robot x64\jre\jre1.6.0_24
Also, on windows machine Path was set to "C:\Program Files\Nimsoft\Nimsoft Robot x64\jre\jre1.6.0_24\bin"
The probe then stayed activated and there were no errors and it showed that it obtained a port and a PID as per the IM window.
Second issue (GUI errors when trying to open it saying that you must install java):
Popup error text displayed:
"The Google Apps probe requires Java 1.6.0_14 or higher. Please install Java using the NimBUS Infrastructure Manager or download directly from http://www.java.com."
On the machine where you are running the Infrastructure Manager:
Click Start->and rt-click on Computer and choose Properties. Click on Advanced System Settings and select Advanced and Environment Variables. Add Nimsoft java jre location to the PATH variable under Advanced->Environment variables.
Variable name: Path
Variable value: D:\Program Files\Nimsoft\jre\jre1.6.0_24\bin
Remove Java Path variable entry that was in place: C:\PROGRAM~1\Java\jdk1.5.0_20\bin
since we do not support that version of java. We found the version being used from the output of the command java -version when we first logged in to take a look at the system environment where IM was being used.
Add JAVA_HOME variable with value of D:\Program Files\Nimsoft\jre\jre1.6.0_24\bin
so the google_apps probe GUI can open successfully. Then after saving it enter java -version from a cmd window on the IM machine and you should see the 1.6.0_24 version of java show up in the output.
From there on you should be able to open the probe successfully without error.