Version
- GraalVM for JDK 23 (Latest)
- GraalVM for JDK 24 (Early Access)
- GraalVM for JDK 21
- GraalVM for JDK 17
- Archives
- Dev Build
Installation on Linux Platforms #
GraalVM is available for Linux on x64 and AArch64 architectures.
You can install GraalVM 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:
-
Navigate to the GraalVM Downloads page. Select 17 or 20 for the Java version, Linux for the operating system, x64 or aarch64 for the architecture, and download.
-
Change to directory where you want to install GraalVM, then move the .tar.gz file to that directory.
- Unzip the archive:
tar -xzf graalvm-jdk-<version>_linux-<architecture>.tar.gz
- There can be multiple JDKs installed on the machine. The next step is to configure the runtime environment:
- Set the value of the
PATH
environment variable to the GraalVM bin directory:export PATH=/path/to/<graalvm>/bin:$PATH
- Set the value of the
JAVA_HOME
environment variable to the installation directory:export JAVA_HOME=/path/to/<graalvm>
- Set the value of the
- To confirm that 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.