I upgraded my springboot application from JDK 11(graalVM) to JDK 17(graalVM) and whenever I run it, I always get A language with id 'js' is not installed. Installed languages are: []
. It seems PolyglotEngineImpl
doesn't have that language. What should I do to get rid of this error. In my pom.xml
, I do not have any graalvm
dependency
I upgraded the JDK 11 to JDK 17 and expected graalvm to run engine smoothly.
Since GraalVM 22.2[1], JavaScript is no longer installed by default in GraalVM.
To install it, run:
$GRAALVM_HOME/bin/gu install js
After installing JavaScript with the gu
tool you can use it as before in previous releases.