ForgeHax icon indicating copy to clipboard operation
ForgeHax copied to clipboard

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

Open oplexz opened this issue 3 years ago • 5 comments

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

Tested on:

  • Windows 11 22468.1000
  • OpenJDK 16/17
  • Minecraft 1.16.5 (freshly installed)
  • Forge 36.2.*
  • ForgeHax 3.3.0-2c0e62c/3.3.1-eca8932

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

Screenshot: image

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

oplexz avatar Oct 02 '21 19:10 oplexz

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

fr1kin avatar Oct 02 '21 20:10 fr1kin

It's an issue with java versions beyond JDK 8

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

oplexz avatar Oct 02 '21 20:10 oplexz

I will have to when I upgrade to 1.17

fr1kin avatar Oct 02 '21 20:10 fr1kin

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

Aditya8Prakash avatar Oct 09 '21 04:10 Aditya8Prakash

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.

oplexz avatar Oct 11 '21 23:10 oplexz