Versions Compared

Key

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

Table of Contents

Introduction

...

The Oracle GraalVM JavaScript Runtime implements ECMAScript standards and does not include modules that are specific for Node.js such as http, fs etc., for details see https://www.graalvm.org/latest/reference-manual/js/Modules/

The Oracle GraalVM 

Installation

Users can install Node.js packages

Code Block
languagebash
titleExample how to install JavaScript Runtime packages for Linux
linenumberstrue
# set location of GraalVM
JAVA_HOME=/opt/java/graalvm-community-openjdk-17.0.7+7.1

# install Node.js packages
#    installed packages will be located in $JAVA_HOME/bin/node_modules sub-directory
$JAVA_HOME/bin/npm install Buffer
$JAVA_HOME/bin/npm install http