CurseForge · Minecraft mod
GraalJS
A JavaScript language library.
Quick answer
Which GraalJS release should I use?
graaljs-26.x-25.0.2-1-Neo-all.jar targets 26.1.1, 26.1.2, 26.2 with NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.
Where it goes
Is GraalJS required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does graaljs-26.x-25.0.2-1-Neo-all.jar need?
graaljs-26.x-25.0.2-1-Neo-all.jar. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add GraalJS without breaking your instance.
Built for graaljs-26.x-25.0.2-1-Neo-all.jar. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use graaljs-26.x-25.0.2-1-Neo-all.jar. It targets 26.1.1, 26.1.2, 26.2 with NeoForge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside graaljs-26.x-25.0.2-1-Neo-all.jar. It opens that exact file at the source.
About this project
What does GraalJS add?
GraalJS is a fast JavaScript language implementation built on top of GraalVM. It is ECMAScript-compliant, provides interoperability with Java and other Graal languages, common tooling, and, if run on the GraalVM JDK, provides the best performance with the Graal JIT compiler by default. You can also use GraalJS with Oracle JDK or OpenJDK.
This mod packages GraalJS to facilitate other mods using GraalJS without needing to package it separately.
This mod does not contain any active modifications. When used as a library, you only need to add the dependency using
implementation "dev.anye.mc:graaljs:1.21.x-24.2.1-1-Neo-all"
It includes an EasyJS class for easy invocation of GraalJS
LOGGER.info("1 + 1 = {}",EasyJS.NotSafe().runCode("1+1"));
You can also directly use GraalJS
static String JS_CODE = "(function myFun(param){console.log('Hello ' + param + ' from JS');})";
public static void main(String[] args) {
String who = args.length == 0 ? "World" : args[0];
System.out.println("Hello " + who + " from Java");
try (Context context = Context.create()) {
Value value = context.eval("js", JS_CODE);
value.execute(who);
}
}
Version number explanation: GraalJS-(Supported Minecraft version)-(GraalJS version)-(This mod version number)-(Mod loader identifier)-(Packaging type)
For example: GraalJS-1.21.x-24.2.1-1-Neo-lite
GraalJS: https://www.graalvm.org/javascript/
GraalJS Documentation: https://www.graalvm.org/reference-manual/js/
This project's GitHub: https://github.com/An-Mao/MC-GraalJS
----Attention----
· This is not an official GraalVM product. If you encounter non-code related issues, please contact me.
· When starting the game with a JDK that includes GraalJS (such as GraalVM), errors may occur. Please use the lite version in the attached files.
Any questions can be asked in github or contacted as below:
Project description from CurseForge.
Pick your setup
GraalJS by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.1.2
2 loader builds26.1.1
2 loader builds1.21.5
2 loader builds1.21.4
2 loader builds1.21.3
2 loader builds1.21.2
2 loader builds1.21.1
2 loader builds1.21
1 loader build1.20.6
1 loader build1.20.5
1 loader build1.20.4
1 loader buildShowing the newest 12 of 15 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
GraalJS versions and loaders
graaljs-26.x-25.0.2-1-Neo-all.jar
27 Jun 2026
graaljs-26.x-25.0.2-1-Forge-all.jar
13 Apr 2026
graaljs-26.x-24.2.1-1-Neo-all.jar
5 Apr 2026
GraalJS-1.21.x-24.2.1-1-Forge-all.jar
13 Jun 2025
GraalJS-1.20.x-24.2.1-1-Forge-all.jar
12 Jun 2025
GraalJS-1.21.x-24.2.1-1-Neo-all.jar
11 Jun 2025
Looking for an older file? The official CurseForge project page is in Resources.