Problem Description
Installing the Remote Engine, fails with the following error:
Root Cause
The values of the %JAVA_HOME% and %PATH% environment variables are not set correctly.
-
%JAVA_HOME% should point to the Java bin directory most of the time.
-
An example of a correct JAVA_HOME variable, might look like this:
C:\remote-engine-2.1.0\bin>echo %JAVA_HOME%
C:\Program Files\Java\jdk1.8.0_144
-
After Installation, the application should be run with the Run as administrator option.
Solution
-
Download a new Remote Engine installer, and run the installer in the Run as administrator mode.
-
Change the JAVA_HOME variable as it will be set to the bin directory by mistake.
Workaround
If this does not work, try adding the path to your java.exe directory to your PATH environment variable, as shown below: