Table of Contents

Installation on Linux Platforms

We provide GraalVM Community Edition distributions for Linux on AMD64 (Intel) and ARM 64-bit architectures. You can install GraalVM Community on Linux from an archive (.tar.gz) for the current user into any location, without affecting other JDK installations.

Follow these steps to install GraalVM Community Edition on the Linux operating system.

  1. Navigate to the GraalVM Releases repository on GitHub. Select the Java 11 based or Java 17 based distribution, amd64 or aarch64 for the architecture, and download.
  2. Change directory to the location where you want to install GraalVM, then move the .tar.gz file to that directory.
  3. Unzip the archive:
    tar -xzf graalvm-ce-java<version>-linux-<architecture>-<version>.tar.gz
    
  4. 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 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>
      
  5. To check whether the installation was successful, run the java -version command.

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

For Oracle GraalVM Enterprise Edition users, find the installation instructions here.

Supported Functionalities

The base distribution of GraalVM Community Edition for Linux platforms includes OpenJDK with the GraalVM compiler enabled. The base installation can be additionally extended with:

Tools/Utilities:

  • Native Image – a technology to compile an application ahead-of-time into a native executable
  • LLVM toolchain – a set of tools and APIs for compiling native programs to bitcode that can be executed with on the GraalVM runtime

Language runtimes:

Note: Runtimes for Python, R, and Ruby languages are not available for the GraalVM Enterprise Linux ARM 64-bit distribution.