SuperWithJava25

Quick rating

Community listing page, reviews here may not be monitored by the author.

SuperWithJava25

No reviews yet

SuperWithJava25 is a lightweight compatibility coremod for Minecraft 1.7.10 that allows Fisk's Superheroes to run on modern Java versions (Java 21 through Java 25+) when using LWJGL3ify.

Mod Loaders
Minecraft

About

Description

SuperWithJava25

MC 1.7.10 // JAVA 21+ FIX

makes fisk's mod actually boot on modern java so i can play

tl;dr why it crashes

fisk's mod calls jdk.nashorn for hero JS packs. oracle deleted nashorn in java 15. https://openjdk.org/jeps/372 and game goes boom:

Caused by: java.lang.ClassNotFoundException: Class bytes are null for jdk.nashorn.api.scripting.NashornScriptEngineFactory

what i did instead of rewriting fisk's mod

  • shaded standalone org.openjdk.nashorn:nashorn-core into the jar
  • wrote a lazy ASM transformer to catch com.fiskmods.heroes.* at boot
  • replaces all string/type refs from jdk.nashorn -> org.openjdk.nashorn in memory so it just works

optimization stuff

if you want to optimize minecraft 1.7.10, check out this guide:
Minecraft 1.7.10 Optimization Guide

requirements or whatever

1.7.10 / Forge 1614+ / Java 21-25 (LWJGL3ify) / Fisk's Superheroes 2.4.0+

works on both client and server (just put it in /mods).

install

  1. drop jar in mods/
  2. launch game
  3. profit

why this exists

was working on advanced lightsabers rewrite structure generation, got annoyed, made this in like 20 minutes to procrastinate. also rewriting transformers mod eventually. maybe.


// ≈ "works on my machine."