Page History
...
- For direct invocation of Node.js with from Shell jobs see see JS7 - How to run Node.js JavaScript from Shell Jobs
...
Users agree with license terms when downloading the related edition of Oracle® GraalVM.
Oracle® GraalVM Components such as the JavaScript Runtime ship with the Universal Permissive License (UPL), Version 1.0, see https://github.com/oracle/graaljs
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
# set location of Oracle GraalVM
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 Runtime component by default is not included):
# ComponentId Version Component name Stability Origin
# ---------------------------------------------------------------------------------------------------------------------------------
# native-image 23.0.0 Native Image Early adopter
# check js JavaScript Runtime component availability 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 Runtime) component from download
$JAVA_HOME/bin/gu install js
# alternatively perform download separately and install downloaded .jar file
# for download URL see https://www.oracle.com/downloads/graalvm-downloads.html
# $JAVA_HOME/bin/gu install --file js-installable-jdk-17-linux-amd64-23.0.1.jar |
...
Overview
Content Tools