UR Installation Error: Windows error 2 occurred while loading java VM.

Document ID : KB000039464
Last Modified Date : 04/07/2018
Show Technical Document Details
Issue:

UR installation error: windows error 2 occurred while loading the java VM.
User-added image

Also, getting below error :

UR-Installation-Error.JPG

Environment:
  • UIM: 8.x
  • UR: 8.x
  • OS version: Windows 2012
Cause:
  • Starting at Java 1.8.0_60, the JAVA.EXE internal build is returned as "600" rather than "60".  The Install Anywhere Windows installer does not recognize this new format, preventing installation of Web Viewer. 
Resolution:
  • To get this to work download and install JRE version between 1.7.0_06 and 1.7.0_51.
  • Then run the installer from the command line with the following parameters
InstallUR.exe LAX_VM "c:\program files\java\jre7\bin\java.exe"

 
Additional Information:
Install Java 7u51 and set compatibility to Windows 8 (this is only needed if OS is 2012).