Skip to content

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.

2 participants