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
So I found out the problem. IntelliJ IDEA is so much used to the standard JDK Home structure that it was not loading the the Graal SDK and other apis.
The Maven jar files that got me closer to the result were EXACTLY the same files that were bundled with GraalVM.