The Gateway Migration Utility (GMU) does not find Java defined in the environment variable PATH. The GMU command fails to run the throws the error:
Please ensure "java" is in the PATH, set JAVA_HOME or run with --jdk option.
Release : 1.6.0, 1.7.0, 1.7.1, 1.7.2, 1.8.0
Component : Gateway Migration Utility
The GMU is mostly looking for the JDK option in the command or the JAVA_HOME environment variable.
Use one of the following to resolve this issue: