Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS engine not found #442

Closed
5mmx opened this issue May 26, 2020 · 7 comments
Closed

JS engine not found #442

5mmx opened this issue May 26, 2020 · 7 comments

Comments

@5mmx
Copy link

5mmx commented May 26, 2020

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!)

@JewishLewish
Copy link

I have the same issue as well :(

@ghost
Copy link

ghost commented Jun 3, 2020

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

@kubiGamer6000
Copy link

@hb432 thanks dude that fixed it for me

@5mmx
Copy link
Author

5mmx commented Jun 5, 2020

Thanks! It helped a lot!

@ajay142020
Copy link

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

@briangershon
Copy link

briangershon commented Nov 22, 2020

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

@ghost
Copy link

ghost commented Mar 11, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants