Thursday 29 June 2023

How to install Javascript Engine in GraalVM

I've already mentioned it in the reference below, but just for easy reference for me.

The JavaScript engine no longer comes installed by default in the GraalVM. You have to install it as follows:

% ./gu install js
Downloading: Artifacts catalog from gds.oracle.com
Skipping ULN EE channels, no username provided.
Downloading: Component catalog from www.graalvm.org
Processing Component: Graal.js
Processing Component: ICU4J
Processing Component: TRegex
Additional Components are required:
    ICU4J (org.graalvm.icu4j, version 23.0.0), required by: Graal.js (org.graalvm.js)
    TRegex (org.graalvm.regex, version 23.0.0), required by: Graal.js (org.graalvm.js)
Downloading: Component js: Graal.js from gds.oracle.com
Downloading: Component org.graalvm.icu4j: ICU4J from gds.oracle.com
Downloading: Component org.graalvm.regex: TRegex from gds.oracle.com
Installing new component: TRegex (org.graalvm.regex, version 23.0.0)
Installing new component: ICU4J (org.graalvm.icu4j, version 23.0.0)
Installing new component: Graal.js (org.graalvm.js, version 23.0.0)

References

Upgrading to Jakarta 10
https://randomthoughtsonjavaprogramming.blogspot.com/2022/12/upgrading-to-jakarta-10.html

No comments:

Post a Comment