Configure Studio to Use Your Own JDK (Windows)
AnypointStudio.inifile inside your Anypoint Studio’s installation directory.
-vmoption to point to your specific JDK installation path.
-vm C:\Program Files\Java\jdk1.8.0_73\bin\javaw.exe
-vmoption and the installation path must be on separate lines.
The value must be the full absolute or relative path to the Java executable, not just to the Java home directory.
-vmoption must occur after the other Studio-specific options (such as
--launcher.*, etc), but before the
If you encounter Java was started but returned exit code=1 while starting Anypoint Studio, modify the
-vmargument to point to the
-vm C:\Program Files\Java\jdk1.8.0_73\jre\bin\server\jvm.dll