importer icon indicating copy to clipboard operation
importer copied to clipboard

Question - ScriptTagger and JDK 17

Open danizen opened this issue 3 years ago • 1 comments

JDK 17 deprecates the Nashorn JS engine. My colleague Tracy, who is actively using the product, is not using the script tagger as she is more of a Java programmer than I am. However, I am concerned about what the importer plans to do with regard to the ScriptTagger.

Thanks!

danizen avatar Jul 13 '22 15:07 danizen

Thanks for bringing this to our attention. It turns out Nashorn still exists independently and is reported to work on Java 11 and up. It would have to be manually added to the classpath for now when using Java 17, but it should be auto-discovered when added. This means people should still be able to use JavaScript without problem with Java 17 and hopefully many releases after that.

See: https://github.com/openjdk/nashorn

Share your experience if you get a chance to try it.

essiembre avatar Aug 16 '22 00:08 essiembre