Page History
...
- Oracle® GraalVM Community Edition is available under the GPLv2+CPE license (recommended).
- Oracle® GraalVM is available under the GraalVM Free Terms and Conditions (GFTC) license.
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 | ||||||
---|---|---|---|---|---|---|
| ||||||
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
- JS7 - Agent Command Line Operation
- Agent Installation Scripts available from JS7 - Automated Installation and Update
- JS7 - systemd Service Files for automated Startup and Shutdown with Unix Systems
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 | ||||||
---|---|---|---|---|---|---|
| ||||||
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 | ||||||
| ||||||
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 | ||||||
---|---|---|---|---|---|---|
| ||||||
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 |