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

GraalVM 21.2.0 support #459

Open
wants to merge 2 commits into
base: development
Choose a base branch
from

Conversation

ediloren
Copy link

I patched ScriptCraft to work with GraalVM with the GraalJS JavaScript engine.

Tested under Win10, GraalVM R21.2.0, SpigotMC R1.17.1.

Includes instructions in the updated 'ReadMe'.

Enrico Di Lorenzo and others added 2 commits August 27, 2021 16:35
- Tested under
  - Win10
  - GraalVM 21.2.0
  - SpigotMC 1.17.1

- Readme updated with instructions on
  - how to install using GraalVM instead of OpenJDK
    (using GraalJS replacing removed Nashorn JavaScript engine)
  - how to build ScriptCraft yourself with Apache Ant

- Solution is not 100% clean as it introduces various
  patches to make it work, possibly rolling back some fixes
  that are NOT working (any more?) under the above environment

- Includes an out-of-the-box .jar file under 'target' that
  you can use directly (no need to build via Ant)
@bernzrdo
Copy link

bernzrdo commented Dec 5, 2021

Hey! Could you patch your fork to work with GraalVM 21.3.0, Minecraft 1.18 requires JDK 17

justinludwig added a commit to justinludwig/ScriptCraft that referenced this pull request Dec 9, 2021
justinludwig added a commit to justinludwig/ScriptCraft that referenced this pull request Dec 10, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants