Install the DCEVM
About this task
For Java 11
Procedure
- Visit http://dcevm.github.io/.
- Click the Java 11 link.
-
Scroll to find the binary for your development platform, and click to
download the relevant file:
Option Description Windows java11-openjdk-dcevm-windows.zip Mac java11-openjdk-dcevm-osx.tar.gz Linux java11-openjdk-dcevm-linux.tar.gz - Extract the contents of the downloaded file.
-
Add the DCEVM as an alternate JDK in Studio.
- In Studio, click
- Under Platform Settings, click SDKs.
- Click Add New SDK +.
-
Select the folder for the DCEVM, and then click
OK.
For windows: C:\Program Files\Java\dcevm-11.0.1+8
- In the Name text box, change the name to DCEVM.
- Click OK.
- Click .
- Under Application, click Servers.
- Next to JRE, click DCEVM.
Do not set the DCEVM as your project SDK.
For Java 8
Procedure
- Visit http://dcevm.github.io/.
-
Click the link under Binaries to download the
appropriate DCEVM installer for your java version.
Java 8 update 181
-
Install the DCEVM as an alternative JVM.
-
At a command prompt, run java -jar
installer.jar, where
installer.jar is
the name of the file you downloaded in the previous step.
java –jar DCEVM-8u181-installer.jarYou may need administrator or super user privileges.The Dynamic Code Evolution VM Installer dialog appears.
-
Select the installation directory for the JDK corresponding to the
DCEVM version you are installing.
c:\Program Files\Java\jdk1.8.0_181
-
Click the Install DCEVM as altjvm
button.
The Dynamic Code Evolution VM Installer dialog displays Yes in the Installed altjvm column for the selected JDK.
- Click "X" to close the Dynamic Code Evolution VM Installer dialog.
-
At a command prompt, run java -jar
installer.jar, where
installer.jar is
the name of the file you downloaded in the previous step.
-
Edit your configuration in Studio to add
-XXaltjvm=dcevmto VM options.- In Studio, at the right hand side of the toolbar, select Server.
- Click .
- Under Application, click Servers.
- In VM options, add -XXaltjvm=dcevm to the end of the line.
- Click OK.
