While installing ITDT on Windows server 2012 R2, I encountered the error :
Windows Error 2 occured while loading the Java VM.
Things I tried include:
- installing both 64 and 32-bit java versions.
- set the System environment variable $PATH to point to both java architecture types
What worked was running the command manually in a command prompt and using the LAX_VM parameter. I also had to specify the location of the Java.exe. Since I had Java 8 update 60 64-bit installed, I ran the command:
1 | install_ITDT_DCR_WindowsX86_64_5.0.1.exe LAX_VM "C:\Program Files\Java\jre1.8.0_60\bin\java.exe" |
The installation completed successfully and I could use the application.
As you can see I run the 64-bit edition of ITDT cause I removed the 32-bit java version. If you install the 32-bit java version, you may need to run the 32-bit version of ITDT.
This could work on other windows versions and for other applications too.
Thanks for posting! I was having issues uninstalling ITDT & this resolved the problems!
Thank you!