


Within a specific version, the sort order appears to be stable but is unspecified. This command sorts the JVMs in decreasing version order and chooses the top one as the default for the specified version. You can run /usr/libexec/java_home -v1.8 -V to see the complete list of 1.8 JVMs available to the java_home command. Depending on other JDK installation(s) available, it is now possible that /usr/libexec/java_home -v1.8 returns /Library/Java/JavaVirtualMachines//Contents/Home. This means that GraalVM Enterprise participates in the macOS-specific /usr/libexec/java_home mechanism. The information property file, ist, is in the top level Contents folder. Optionally, you can specify GraalVM as the default JRE or JDK installation in your Java IDE.įor Oracle GraalVM Enterprise Edition users, find the installation instructions here. To check whether the installation was successful, run the java -version command.

Set the JAVA_HOME environment variable to resolve to the GraalVM installation directory:Įxport JAVA_HOME=/Library/Java/JavaVirtualMachines//Contents/Home.Point the PATH environment variable to the GraalVM bin directory:Įxport PATH=/Library/Java/JavaVirtualMachines//Contents/Home/bin:$PATH.

The next step is to configure the runtime environment:
