Endpoint management installation fails with following error: Windows error 2 occured while loading the Java VM
Java 8 Update 172 is installed already and select use existing on 3rd party installation.
Environment
PIM 14.0 / W2K16
Resolution
Executing installer with LAX_VM option resolved the problem.
1. add Java path to head of PATH system environment variable e.g. Path=C:\Program Files\Java\jre1.8.0_172\bin;... 2. execute command prompt (administrator mode) 3. move to EndM directory of installation media and execute installer with LAX_VM option and full path of java.exe as argument. e.g. \> cd D:\EndPointMgmt \> install_EM.exe LAX_VM "C:\Program Files\Java\jre1.8.0_172\bin\java.exe"
Additional Information
This doesn't happen if Java is installed from 3rd party installation.