Lithium (Fabric)

Lithium (Fabric)

22M Downloads

Crash on startup when using Java 16

Opened this issue ยท 3 comments

commented

Crash when using AdoptOpenJDK 16 (OpenJ9)

[23:22:32] [main/INFO]: Loading for game Minecraft 1.16.2
[23:22:32] [main/INFO]: [FabricLoader] Loading 3 mods: [email protected], [email protected], [email protected]+build.207
[23:22:32] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.1 Source=file:/D:/Game/MC/.minecraft/libraries/net/fabricmc/sponge-mixin/0.8.1+build.21/sponge-mixin-0.8.1+build.21.jar Service=Knot/Fabric Env=CLIENT
[23:22:32] [main/INFO]: Loaded configuration file for Lithium: 63 options available, 0 override(s) found
[23:22:32] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 60)
[23:22:32] [main/WARN]: Error loading class: java/util/Map$Entry (java.lang.IllegalArgumentException: Unsupported class file major version 60)
[23:22:32] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 60)
[23:22:32] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 60)
[23:22:32] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 60)
[23:22:32] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 60)
[23:22:32] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 60)
[23:22:32] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 60)
[23:22:32] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 60)
[23:22:32] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 60)
[23:22:32] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 60)
[23:22:32] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 60)
[23:22:32] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 60)
[23:22:32] [main/WARN]: Error loading class: java/util/Map$Entry (java.lang.IllegalArgumentException: Unsupported class file major version 60)
[23:22:33] [main/WARN]: Error loading class: java/lang/invoke/LambdaMetafactory (java.lang.IllegalArgumentException: Unsupported class file major version 60)

commented

Java 16 is still a far away EA and not supported by any of the ecosystem. We can't do anything about this.

commented

@xiaobox very strange, I've tried openjdk 16 with lithium without any issues. What build of openjdk? I know there are some funkyness with openj9 and minecraft. Does hotspot openjdk 16 work? What platform are you on?

commented

Try using https://github.com/iczero/fabric-openj9compat it fixed compatibility of AdoptOpenJDK 8 on openj9 for me. So maybe it'll fix your problem as well. But i think you will be better of using hotspot versions of jdk