Closed sjerman closed 6 years ago
Hi @sjerman of course Nashorn API is changed since Java 1.8.0.25, it was new-born. For example in J8u40 was a big milestone for Nashorn. I suggest you to update your jdk (last version for J8 should be 161). Hope this help Aris
Yup, I'd recommend upgrading to a newer JDK, as there are definitively issues when running with an "early" version of Nashorn.
Ah... stupid me. I forgot Apple removed inbuilt Java JDK support ... and thought that since it kept on updating the JRE used for applets that I was up to date... even in the face of the version reported.
Thanks for the pointer.
Hi,
I'm having trouble using the library ... I was getting NPEs when using it, so checked out and triedto build the source locally, using this environment:
As far as I can tell, standard Mac with standard Oracle J8 JDK...
Anyway, I get the following error running Maven:
I loaded in Eclipse and get same compile errors, looking at ScriptObjectMirror object in Eclipse browser it doesn't have identical method.
I'm not sure what the issue is but starting to wonder if the Nashorn API has changed... which is weird.
Any suggestions?