Error: 'java' is not recognized as an internal or external command, operable program, or batch file
This is a common error seen in the logs of older probes which have not been updated in recent months to reflect the new Nimsoft java_jre package environment.
Nimsoft packages our own 'java_jre' which appears as if it were a probe in the archive. This was to support the Nimsoft java-based probe environment.
To resolve this issue, add the ‘java_jre’ package from the archive to the affected robot.
Typically, you need to only review the runprobe.bat to determine the cause of the issue.
Most runprobe.bat files will first reference a probe_env.bat file which looks like this:
REM This file has been automatically generated.
REM Do not edit (any changes will be overwritten.)
set JAVA_OPTS=-Xmx256m -Xms32m
The runprobe.bat file will look like this (notice the call to probe_env.bat):
"%JAVA%" %JAVA_OPTS% -jar %NIM_PROBE_NAME%.jar %1 %2 %3 %4 %5 >%TMP_LOG% 2>&1
type %TMP_LOG% >> %NIM_PROBE_LOGFILE%
Attached are the actual examples described above. See the "Information" tab.