Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Oracle GraalVM Components such as the JavaScript interpreter ship with the Universal Permissive License (UPL), Version 1.0, see

Users agree with license terms when downloading the related edition of Oracle® GraalVM.

Download Oracle® GraalVM

The Oracle® GraalVM can be downloaded from https://www.graalvm.org/downloads/

...

Code Block
languagebash
titleExample how to download Oracle® GraalVM for Linux
linenumberstrue
curl 'https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-17.0.7/graalvm-community-jdk-17.0.7_linux-x64_bin.tar.gz' -O
tar -xzf graalvm-community-jdk-17.0.7_linux-x64_bin.tar.gz -C /opt/java

Installation



JAVA_HOME=/opt/java/graalvm-community-openjdk-17.0.7+7.1

No installation procedure is required. After download users extract the .tar.gz/.zip archive of the Oracle® GraalVM and make the JAVA_HOME environment variable to point to the location where Oracle® GraalVM is extracted.

The JAVA_HOME environment variable has to be made available to the JS7 Agent, for example from

Download and Install Oracle® GraalVM Components

The Oracle® GraalVM components for scripting language support can be downloaded from: https://www.oracle.com/downloads/graalvm-downloads.html

GraalVM Components project web site: https://github.com/oracle/graaljs

The In a next step the related js JavaScript component has to be downloaded and initialized, for details see GraalVM Updater:

Code Block
languagebash
titleExample how to download and install Oracle® GraalVM for Linux
linenumberstrue
JAVA_HOME=/opt/java/graalvm-community-openjdk-17.0.7+7.1

# check components included with downloaded Oracle GraalVM
$JAVA_HOME/bin/gu list *

# output to the command can look like this (indicating that the js JavaScript component by default is not included):
#   ComponentId              Version             Component name                Stability                     Origin
#   ---------------------------------------------------------------------------------------------------------------------------------
#   native-image             23.0.0              Native Image                  Early adopter

# check js JavaScript components available for installation with Oracle GraalVM
$JAVA_HOME/bin/gu available js

# output to the command can look like this:
#   ComponentId              Version             Component name                Stability                     Origin
#   ---------------------------------------------------------------------------------------------------------------------------------
#   js                       23.0.0              Graal.js                      Supported                     github.com
#   nodejs                   23.0.0              Graal.nodejs                  Supported                     github.com


# install js (JavaScript) component from download
$JAVA_HOME/bin/gu install js

# alternatively perform download separately and install .jar file
# cur '' -O
# $GRAALVM/bin/gu install --file ~/Downloads/js-installable-...-.jar
Code Block
languagebash
titleExample how to download and install Oracle® GraalVM for Linux
linenumberstrue
JAVA_HOME=/opt/java/graalvm-community-openjdk-17.0.7+7.1
$JAVA_HOME/bin/gu install js
 see https://www.oracle.com/downloads/graalvm-downloads.html
#   $GRAALVM/bin/gu install --file ~/Downloads/js-installable-...-.jar

Example

Code Block
languagebash
titleExample how to download and install Oracle® GraalVM for Linux
linenumberstrue
curl 'https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-17.0.7/graalvm-community-jdk-17.0.7_linux-x64_bin.tar.gz' -O
tar -xzf -C /opt/java

JAVA_HOME=/opt/java/graalvm-community-openjdk-17.0.7+7.1
$JAVA_HOME/bin/gu install jslinux-amd64-23.0.1.jar