Installation on Linux Platforms

Oracle provides GraalVM Enterprise Edition distributions for Linux on AMD64 (Intel) and AArch64 architectures. You can install GraalVM Enterprise on Linux from an archive (.tar.gz) for the current user into any location, without affecting other JDK installations.

Note on AArch64 Distribution

This distribution can be installed on Oracle Linux and Red Hat Enterprise Linux(RHEL) systems for AArch64 CPU architecture.

Follow these steps to install Oracle GraalVM Enterprise Edition on the Linux operating system:

  1. Navigate to Oracle GraalVM Downloads.

  2. Select the preferable GraalVM Enterprise version in the Release Version dropdown, 11, 17 or 19 for the Java version, Linux for the operating system, and amd64 or aarch64 for the architecture.

  3. Click on the GraalVM Enterprise JDK download link. Before you download a file, you must accept the Oracle License Agreement in the popup window.

  4. When the download button becomes active, press it to start downloading.

  5. Change directory to the location where you want to install GraalVM Enterprise, then move the .tar.gz file to that directory.

  6. Unzip the archive:
     tar -xzf graalvm-ee-java<version>-linux-<architecture>-<version>.tar.gz
    
  7. There can be multiple JDKs installed on the machine. The next step is to configure the runtime environment:
    • Point the PATH environment variable to the GraalVM Enterprise bin directory:
       export PATH=/path/to/<graalvm>/bin:$PATH
      
    • Set the JAVA_HOME environment variable to resolve to the installation directory:
       export JAVA_HOME=/path/to/<graalvm>
      
  8. To check whether the installation was successful, run the java -version command.

Optionally, you can specify GraalVM Enterprise as the default JRE or JDK installation in your Java IDE.

Supported Functionalities

The base distribution of GraalVM Enterprise for Linux includes Oracle JDK with the GraalVM compiler enabled. The base installation can be additionally extended with:

Tools/Utilities:

Language runtimes:

To assist a user with installation, GraalVM includes GraalVM Updater, a command line utility to install and manage additional functionalities. Proceed to the installation steps to add any necessary language runtime or utility from above to GraalVM.

Note: Runtimes for Python, R, and Ruby languages are not available for the GraalVM Enterprise Linux AArch64 distribution.