Closed rymsha closed 1 year ago
Without jlink
size is still 2x of with jlink (~200 MB vs ~400 MB)
Unfortunately there is currently an issue with jlink
https://github.com/oracle/graal/issues/4781
Currently there is no good workaround
js language is no longer a part of distribution of GraalVM. Documentation suggests to run gu install js
. This brings another challenge: gu
is a "native" tool and would require to download/extract/run GraalVM for all supported platforms, instead of "just" copying a file from languages/js
folder. The solution is to mimic gu
tool and manually download/copy graaljs jar.
Note that GraalVM distro no longer includes JavaScript language https://www.graalvm.org/release-notes/22_2/#platform-updates
It is probably beneficial, too, to stop applying jlink for SDK builds because GraalVM distro is now way smaller.