问题
I am using my office laptop (Lenovo vV310 - 8GB RAM - 64 Bit OS - Windows 8.1). I have been trying to fix an installation issue with IBM Mobile First Platform for the past few days. I downloaded the IBM Mobile First Developer Kit from link http://public.dhe.ibm.com/ibmdl/export/pub/software/products/en/MobileFirstPlatform/mobilefirst-deved-devkit-windows-8.0.0.0.exe
The problem is the installation software InstallAnywhere is not installing and gives the below warning.
Windows error 2 occured while loading the Java VM
I have JDK 1.8 installed in my notebook and I couldn't fix the issue. I have the java JDK and JRE bin paths set in the environment variables.
If any of you have fixed the issue, please share the solution.
回答1:
Open command line as Administrator and type following command.
[path of mobilefirst-devkit.exe] LAX_VM ["path of java.exe"]
Usage
C:\Users\gaurab\Downloads\mobilefirst-deved-devkit-windows-8.0.0.0.exe LAX_VM "C:\Program Files\Java\jdk1.8.0_112\bin\java.exe"
来源:https://stackoverflow.com/questions/44482679/ibm-mobilefirst-platform-installation-in-windows-8-1-64bit