"Error loading class: java/lang/Boolean (java.lang.IllegalArgumentException: Unsupported class file major version 66)" when using Java 22
Heraclius opened this issue ยท 1 comments
Describe the bug
Attempting to load the latest version of the mod (for MC 1.20.6) using Java 22 crashes the game upon startup. Switching to Java 21 fixes the issue.
To Reproduce
Steps to reproduce the behavior:
- Set up Minecraft 1.20.6
- Install NeoForge 20.6.116
- Install Advanced XRay 86.0.0
- Launch the game using Java 22
- It doesn't launch!
Expected behavior
I expect the game to launch?
Minecraft Enviorment
- Minecraft Version: 1.20.6
- XRay Mod Version: 86.0.0
- NeoForge 20.6.116
Additional context
For context, this is on Windows 10. Here is the full MultiMC log file: log.txt