Install the DCEVM

About this task

See the Supported Software Components knowledge article for information about which specific DCEVM version Guidewire supports for PolicyCenter 10.1.2 . Visit the Guidewire Community and search for knowledge article 1005, “Supported Software Components”.

For Java 11

Procedure

  1. Visit http://dcevm.github.io/.
  2. Click the Java 11 link.
  3. Scroll to find the binary for your development platform, and click to download the relevant file:
    OptionDescription
    Windows java11-openjdk-dcevm-windows.zip
    Mac java11-openjdk-dcevm-osx.tar.gz
    Linux java11-openjdk-dcevm-linux.tar.gz
  4. Extract the contents of the downloaded file.
  5. Add the DCEVM as an alternate JDK in Studio.
    1. In Studio, click File > Project Structure
    2. Under Platform Settings, click SDKs.
    3. Click Add New SDK +.
    4. Select the folder for the DCEVM, and then click OK.
      For windows: C:\Program Files\Java\dcevm-11.0.1+8
    5. In the Name text box, change the name to DCEVM.
    6. Click OK.
    7. Click Run > Edit Configurations.
    8. Under Application, click Servers.
    9. Next to JRE, click DCEVM.
    Do not set the DCEVM as your project SDK.

For Java 8

Procedure

  1. Visit http://dcevm.github.io/.
  2. Click the link under Binaries to download the appropriate DCEVM installer for your java version.
    Java 8 update 181
  3. Install the DCEVM as an alternative JVM.
    1. 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.jar
      You may need administrator or super user privileges.
      The Dynamic Code Evolution VM Installer dialog appears.
    2. Select the installation directory for the JDK corresponding to the DCEVM version you are installing.
      c:\Program Files\Java\jdk1.8.0_181
    3. 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.
    4. Click "X" to close the Dynamic Code Evolution VM Installer dialog.
  4. Edit your configuration in Studio to add -XXaltjvm=dcevm to VM options.
    1. In Studio, at the right hand side of the toolbar, select Server.
    2. Click Run > Edit Configurations.
    3. Under Application, click Servers.
    4. In VM options, add -XXaltjvm=dcevm to the end of the line.
    5. Click OK.