I am developing a Java application that needs to execute
JavaScript. Nashorn JS engine is about to get deprecated
and the replacement is the set of APIs provided by Graal SDK
wh
In intelliJ go to: File -> Project structure -> SDKs
Add a new SDK named GraalVM (or choose a descriptive name) then in JDK home path select the GraalVM installation path in my case /Users/cjeronimo/.sdkman/candidates/java/19.0.0-grl