flathub / com.mojang.Minecraft

https://flathub.org/apps/details/com.mojang.Minecraft
34 stars 13 forks source link

OpenJDK 11 cause Forge to crash #57

Closed JasonHK closed 3 years ago

JasonHK commented 4 years ago

According to the post in Forge Forums, Forge only supports Java 8-10. But this package ships with OpenJDK 11.

This might be the reason why the game crashed at launch when and only when Forge is used.

AsciiWolf commented 4 years ago

Did you try using the org.freedesktop.Sdk.Extension.openjdk8 extension? Here are more information.

Aditoo17 commented 4 years ago

Could you please explain how to install the extension? I tried flatpak install org.freedesktop.Sdk.Extension.openjdk8 and added /app/jdk8/jvm/openjdk-1.8.0_222-adoptopenjdk/bin/java to the profile in the launcher, but it didn't work. I don't think I understand what to do.

AsciiWolf commented 4 years ago

Hmm, that's weird. @tilosp @ThatGeekyWeeb Do you have any idea what could be wrong?

Mia-Rain commented 4 years ago

Alright sure, it's highly possible the wrong version of it was installed, this was the original issue I had.

https://github.com/flathub/com.mojang.Minecraft/issues/22 If the correct branch (19.08) of org.freedesktop.Sdk.Extension.openjdk8 is installed, proper java is installed.

I recommend re-installing and checking if you used the correct branch!

NOTE: atm I am not using flathub, and storage is limited for me, so I have no space to test it and projects within it.

AsciiWolf commented 3 years ago

I think that this should be fixed now - latest Minecraft Launcher uses bundled Java. Please retest and let us know. Thanks!

SystemlessDev commented 3 years ago

I think that this should be fixed now - latest Minecraft Launcher uses bundled Java. Please retest and let us know. Thanks!

Already tested it and it indeed works! This issue can be closed now

AsciiWolf commented 3 years ago

Thanks!