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 x86 64-bit Linux operating systems:
- Navigate to the Oracle Technology Network Downloads page. Depending on the workload, select Oracle GraalVM Enterprise Edition based on JDK8 for Linux or Oracle GraalVM Enterprise Edition based on JDK11 for Linux, and accept the Oracle Technology Network License Agreement GraalVM Enterprise Edition Including License for Early Adopter Versions.
- Unzip the archive to your file system:
tar -xzf <graalvm-archive>.tar.gz
- Configure your environment:
- Point the
PATH
environment variable to the GraalVM Enterprisebin
directory:export PATH=<graalvm>/bin:$PATH
To verify whether you are using GraalVM Enterprise, run
which java
. - Set the
JAVA_HOME
environment variable to resolve to the installation directory:export JAVA_HOME=<graalvm>
Optionally, you can specify GraalVM Enterprise as the JRE or JDK installation in your Java IDE.
- Point the
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:
- 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 on GraalVM
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.