Closed subes closed 2 years ago
Here an example on how to detect available implementations: https://github.com/scijava/scripting-javascript/blob/master/src/main/java/org/scijava/plugins/scripting/javascript/JavaScriptScriptLanguage.java
GraalJS can be embedded: https://www.graalvm.org/reference-manual/js/RunOnJDK/
should be fine to go with GraalJS only since it is compatible to Nashorn and Rhino (with specific configuration) and it supports Java8.
done
Here an example on how to detect available implementations: https://github.com/scijava/scripting-javascript/blob/master/src/main/java/org/scijava/plugins/scripting/javascript/JavaScriptScriptLanguage.java
GraalJS can be embedded: https://www.graalvm.org/reference-manual/js/RunOnJDK/