Installation on Windows Platforms

Follow these steps to install Oracle GraalVM Enterprise Edition environment on x86 64-bit Windows:

  1. Navigate to the Oracle Technology Network Downloads page. Depending on the workload, select Oracle GraalVM Enterprise Edition based on JDK8 for Windows or Oracle GraalVM Enterprise Edition based on JDK11 for Windows, and accept the Oracle License Agreement.
  2. Unzip the archive to your file system.
  3. Configure JAVA_HOME and PATH environment variables. Setting environment variables via the command line will work the same way for Windows 7, 8 and 10.
    • Add the GraalVM Enterprise bin folder to the PATH environment variable:
        setx /M PATH "C:\Progra~1\Java\<graalvm>\bin;%PATH%"
      
    • Set the JAVA_HOME environment variable to resolve to the GraalVM installation directory:
        setx /M JAVA_HOME "C:\Progra~1\Java\<graalvm>"
      

      Note that the /M flag, equivalent to -m, requires elevated user privileges.

  4. Restart Command Prompt to reload the environment variables. Then use the following command to check whether the variables were set correctly:
    echo %PATH%
    echo %JAVA_HOME%
    

    Optionally you can specify GraalVM Enterprise as the JRE or JDK installation in your Java IDE. To check whether the installation was successful, enter java -version command.

The GraalVM Enterprise distribution for Windows includes the JDK with the GraalVM compiler.