Redi2Go / PhotonicEngine

22 stars 0 forks source link

Game crash on start, reason given is iris was compiled by a more recent version of java runtime, other java versions don't work. #89

Closed GJHighlander closed 3 weeks ago

GJHighlander commented 3 weeks ago

As title says, Iris is crashing game on start with Photonic added. Crash log claims that Iris was compiled by version 65.0 of java runtime and this version only supports versions up to 61.0. different java versions don't fix it. Removing Photonic but leaving Iris does fix it. I am using Photonic 0.2.5, game version 1.20.4, fabric loader version 0.16.9. Crash log below:

Prism Launcher version: 9.0 (official)

Launched instance in online mode

login.microsoftonline.com resolves to: [2603:1026:3000:150::8, 2603:1027:1:158::8, 2603:1027:1:158::a, 2603:1027:1:158::2, 2603:1026:3000:148::7, 2603:1027:1:158::c, 2603:1026:3000:148::12, 2603:1026:3000:150::a, 20.190.160.22, 20.190.160.20, 40.126.32.136, 40.126.32.72, 40.126.32.138, 20.190.160.17, 40.126.32.74, 40.126.32.134]

session.minecraft.net resolves to: [2620:1ec:bdf::64, 13.107.246.64]

textures.minecraft.net resolves to: [2620:1ec:bdf::64, 13.107.246.64]

api.mojang.com resolves to: [2620:1ec:bdf::64, 13.107.246.64]

Minecraft folder is: C:/Users/caspa/AppData/Roaming/PrismLauncher/instances/1.20.4/minecraft

Java path is: C:/Users/caspa/AppData/Roaming/PrismLauncher/java/eclipse_temurin_jre17.0.1+12/bin/javaw.exe

Checking Java version... Java is version 17.0.1, using 64 (amd64) architecture, from Eclipse Adoptium.

Main Class: net.fabricmc.loader.impl.launch.knot.KnotClient

Native path: C:/Users/caspa/AppData/Roaming/PrismLauncher/instances/1.20.4/natives

Traits: traits XR:Initial traits feature:is_quick_play_singleplayer traits FirstThreadOnMacOS traits feature:is_quick_play_multiplayer

Libraries: C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-freetype-natives-windows-arm64/3.3.2/lwjgl-freetype-natives-windows-arm64-3.3.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-freetype-natives-windows-x86/3.3.2/lwjgl-freetype-natives-windows-x86-3.3.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-freetype-natives-windows/3.3.2/lwjgl-freetype-natives-windows-3.3.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-freetype/3.3.2/lwjgl-freetype-3.3.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-glfw-natives-windows-arm64/3.3.2/lwjgl-glfw-natives-windows-arm64-3.3.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-glfw-natives-windows-x86/3.3.2/lwjgl-glfw-natives-windows-x86-3.3.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-glfw-natives-windows/3.3.2/lwjgl-glfw-natives-windows-3.3.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-glfw/3.3.2/lwjgl-glfw-3.3.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-jemalloc-natives-windows-arm64/3.3.2/lwjgl-jemalloc-natives-windows-arm64-3.3.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-jemalloc-natives-windows-x86/3.3.2/lwjgl-jemalloc-natives-windows-x86-3.3.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-jemalloc-natives-windows/3.3.2/lwjgl-jemalloc-natives-windows-3.3.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-jemalloc/3.3.2/lwjgl-jemalloc-3.3.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-natives-windows-arm64/3.3.2/lwjgl-natives-windows-arm64-3.3.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-natives-windows-x86/3.3.2/lwjgl-natives-windows-x86-3.3.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-natives-windows/3.3.2/lwjgl-natives-windows-3.3.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-openal-natives-windows-arm64/3.3.2/lwjgl-openal-natives-windows-arm64-3.3.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-openal-natives-windows-x86/3.3.2/lwjgl-openal-natives-windows-x86-3.3.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-openal-natives-windows/3.3.2/lwjgl-openal-natives-windows-3.3.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-openal/3.3.2/lwjgl-openal-3.3.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-opengl-natives-windows-arm64/3.3.2/lwjgl-opengl-natives-windows-arm64-3.3.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-opengl-natives-windows-x86/3.3.2/lwjgl-opengl-natives-windows-x86-3.3.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-opengl-natives-windows/3.3.2/lwjgl-opengl-natives-windows-3.3.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-opengl/3.3.2/lwjgl-opengl-3.3.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-stb-natives-windows-arm64/3.3.2/lwjgl-stb-natives-windows-arm64-3.3.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-stb-natives-windows-x86/3.3.2/lwjgl-stb-natives-windows-x86-3.3.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-stb-natives-windows/3.3.2/lwjgl-stb-natives-windows-3.3.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-stb/3.3.2/lwjgl-stb-3.3.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-tinyfd-natives-windows-arm64/3.3.2/lwjgl-tinyfd-natives-windows-arm64-3.3.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-tinyfd-natives-windows-x86/3.3.2/lwjgl-tinyfd-natives-windows-x86-3.3.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-tinyfd-natives-windows/3.3.2/lwjgl-tinyfd-natives-windows-3.3.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-tinyfd/3.3.2/lwjgl-tinyfd-3.3.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl/3.3.2/lwjgl-3.3.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/com/github/oshi/oshi-core/6.4.5/oshi-core-6.4.5.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/com/google/code/gson/gson/2.10.1/gson-2.10.1.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/com/google/guava/guava/32.1.2-jre/guava-32.1.2-jre.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/com/ibm/icu/icu4j/73.2/icu4j-73.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/com/mojang/authlib/6.0.52/authlib-6.0.52.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/com/mojang/blocklist/1.0.10/blocklist-1.0.10.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/com/mojang/brigadier/1.2.9/brigadier-1.2.9.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/com/mojang/datafixerupper/6.0.8/datafixerupper-6.0.8.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/com/mojang/logging/1.1.1/logging-1.1.1.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/com/mojang/patchy/2.2.10/patchy-2.2.10.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/com/mojang/text2speech/1.17.9/text2speech-1.17.9.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/commons-codec/commons-codec/1.16.0/commons-codec-1.16.0.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/commons-io/commons-io/2.13.0/commons-io-2.13.0.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/commons-logging/commons-logging/1.2/commons-logging-1.2.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/io/netty/netty-buffer/4.1.97.Final/netty-buffer-4.1.97.Final.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/io/netty/netty-codec/4.1.97.Final/netty-codec-4.1.97.Final.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/io/netty/netty-common/4.1.97.Final/netty-common-4.1.97.Final.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/io/netty/netty-handler/4.1.97.Final/netty-handler-4.1.97.Final.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/io/netty/netty-resolver/4.1.97.Final/netty-resolver-4.1.97.Final.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/io/netty/netty-transport-classes-epoll/4.1.97.Final/netty-transport-classes-epoll-4.1.97.Final.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/io/netty/netty-transport-native-unix-common/4.1.97.Final/netty-transport-native-unix-common-4.1.97.Final.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/io/netty/netty-transport/4.1.97.Final/netty-transport-4.1.97.Final.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/it/unimi/dsi/fastutil/8.5.12/fastutil-8.5.12.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/net/java/dev/jna/jna-platform/5.13.0/jna-platform-5.13.0.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/net/java/dev/jna/jna/5.13.0/jna-5.13.0.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/net/sf/jopt-simple/jopt-simple/5.0.4/jopt-simple-5.0.4.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/apache/commons/commons-compress/1.22/commons-compress-1.22.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/apache/commons/commons-lang3/3.13.0/commons-lang3-3.13.0.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/apache/httpcomponents/httpclient/4.5.13/httpclient-4.5.13.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/apache/httpcomponents/httpcore/4.4.16/httpcore-4.4.16.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/apache/logging/log4j/log4j-api/2.19.0/log4j-api-2.19.0.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/apache/logging/log4j/log4j-core/2.19.0/log4j-core-2.19.0.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/apache/logging/log4j/log4j-slf4j2-impl/2.19.0/log4j-slf4j2-impl-2.19.0.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/joml/joml/1.10.5/joml-1.10.5.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/slf4j/slf4j-api/2.0.7/slf4j-api-2.0.7.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/net/fabricmc/intermediary/1.20.4/intermediary-1.20.4.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/ow2/asm/asm/9.7.1/asm-9.7.1.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/ow2/asm/asm-analysis/9.7.1/asm-analysis-9.7.1.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/ow2/asm/asm-commons/9.7.1/asm-commons-9.7.1.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/ow2/asm/asm-tree/9.7.1/asm-tree-9.7.1.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/org/ow2/asm/asm-util/9.7.1/asm-util-9.7.1.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/net/fabricmc/sponge-mixin/0.15.4+mixin.0.8.7/sponge-mixin-0.15.4+mixin.0.8.7.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/net/fabricmc/fabric-loader/0.16.9/fabric-loader-0.16.9.jar C:/Users/caspa/AppData/Roaming/PrismLauncher/libraries/com/mojang/minecraft/1.20.4/minecraft-1.20.4-client.jar

Native libraries:

Mods: [✔] fabric-api-0.97.2+1.20.4 [✔] iris-1.7.2+mc1.20.4 [✔] modmenu-9.2.0 [✔] Photonic-0.2.5 [✔] placeholder-api-2.4.0-pre.1+1.20.4 [✔] sodium-fabric-0.5.8+mc1.20.4

Params: --username --version 1.20.4 --gameDir C:/Users/caspa/AppData/Roaming/PrismLauncher/instances/1.20.4/minecraft --assetsDir C:/Users/caspa/AppData/Roaming/PrismLauncher/assets --assetIndex 12 --uuid --accessToken --userType --versionType release

Window size: 854 x 480

Launcher: standard

Java Arguments: [-XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump, -Xms512m, -Xmx8192m, -Duser.language=en]

Minecraft process ID: 10320

[20:06:24] [main/INFO]: Loading Minecraft 1.20.4 with Fabric Loader 0.16.9 [20:06:24] [main/INFO]: Loading 63 mods:

hoi4dude commented 3 weeks ago

install the most recent version of openJDK with this tutorial: https://minecrafthopper.net/help/installing-java/

ignore the compatibility chart they give, just install the most recent version of openJDK.

and then to change the java version minecraft will use, follow this tutorial: https://minecrafthopper.net/help/guides/changing-java-version/

it worked for me, so I don't see a reason why it wouldn't work for you too.

GJHighlander commented 3 weeks ago

As I said, I have already tried multiple versions of java, but none of them want to work, I still get the same error unfortunately.

Kimizuky commented 3 weeks ago

I got the same thing, no matter which java version

Redi2Go commented 3 weeks ago

You will need java 22, and you have to really make sure, your launcher is using java 22.

I will make sure, to compile upcoming releases with older versions of java to increase compatibility

GJHighlander commented 3 weeks ago

Ah I see, I tried multiple versions of java but that was one I missed out lol, thanks for the suggestion I'll try it out. Edit: Using Java 22 worked, perfect thanks so much.