fr1kin / ForgeHax

A Minecraft cheat that runs as a Forge mod
MIT License
486 stars 128 forks source link

Unable to use ForgeHax 3.* with OpenJDK versions above 8 #377

Open oplexz opened 3 years ago

oplexz commented 3 years ago

Unable to start the game with ForgeHax with Java versions above 8.

Tested on:

Switched back to OpenJDK 8, and the game started up properly.

Screenshot: image

Logs: crash-2021-10-02_22.36.43-fml.txt

fr1kin commented 3 years ago
Exception message: java.lang.reflect.InaccessibleObjectException: Unable to make field protected java.net.URL java.net.URLConnection.url accessible: module java.base does not "opens java.net" to unnamed module @1c85df9f

It's an issue with java versions beyond JDK 8

oplexz commented 3 years ago

It's an issue with java versions beyond JDK 8

Is there going to be a fix in the future then?

fr1kin commented 3 years ago

I will have to when I upgrade to 1.17

Aditya8Prakash commented 3 years ago

The same happened to me..... hope there is a fix

oplexz commented 3 years ago

The same happened to me..... hope there is a fix

Use Java 8 for the time being. There will be a fix in the future, but there is no ETA.