Skip to content
Phil Beauvoir edited this page Sep 5, 2022 · 13 revisions

GraalVM

See https://github.com/archimatetool/archi-scripting-plugin/issues/85

GraalVM dependencies:

Jar Maven
graal-sdk-20.3.0.jar https://mvnrepository.com/artifact/org.graalvm.sdk/graal-sdk
js-20.3.0.jar https://mvnrepository.com/artifact/org.graalvm.js/js
js-scriptengine-20.3.0.jar https://mvnrepository.com/artifact/org.graalvm.js/js-scriptengine
regex-20.3.0.jar https://mvnrepository.com/artifact/org.graalvm.regex/regex
truffle-api-20.3.0.jar https://mvnrepository.com/artifact/org.graalvm.truffle/truffle-api
icu4j-67.1 https://mvnrepository.com/artifact/com.ibm.icu/icu4j

Eclipse ships with icu4j (com.ibm.icu_67.1.0.v20200706-1749.jar) so we get that shipped with Archi as long as we add com.ibm.icu to the dependencies of MANIFEST.MF. However, see https://www.eclipse.org/eclipse/news/4.19/platform_isv.php#icu-e4-feature so we have to keep our eye on that. If ever it's removed from Eclipse, we can ship our own jar.

A useful link for dependencies:

https://www.graalvm.org/22.1/reference-manual/js/RunOnJDK/