JS engine not found
5mmx opened this issue ยท 7 comments
Hello! I tried running this today and found out that messages that say that no JS engine is found appear.
[scriptcraft] No JavaScript Engine available. ScriptCraft will not work without Javascript.
How can I solve this? (Pls explain me in simple words because I'm not an expert of this stuff, thanks!)
This issue affects servers running 1.15.2 or later. Use this patched JAR file to fix the problem.
https://github.com/walterhiggins/ScriptCraft/files/4117267/scriptcraft.zip
This issue affects servers running 1.15.2 or later. Use this patched JAR file to fix the problem.
https://github.com/walterhiggins/ScriptCraft/files/4117267/scriptcraft.zip
You are a legend even 8 months later
hi i copied the file into the plugins folder.. but still getting the same issue
[Server thread/ERROR]: [scriptcraft] No JavaScript Engine available. ScriptCraft will not work without Javascript.
I am running Java 15.0.1
This issue affects servers running 1.15.2 or later. Use this patched JAR file to fix the problem.
https://github.com/walterhiggins/ScriptCraft/files/4117267/scriptcraft.zip
Java 15 no longer has the Nashorn JavaScript Engine -- it was deprecated at Java 11 and now removed: https://golb.hplar.ch/2020/04/java-javascript-engine.html
I was able to see this working on Java 14.x (on MacOS) and ran into this issue trying to install on a new machine.
I found more conversation about moving to Graal here: #444