gorilla-devs / GDLauncher

GDLauncher is a simple, yet powerful Minecraft custom launcher with a strong focus on the user experience
https://gdevs.io
GNU General Public License v3.0
1.22k stars 246 forks source link

[BUG] Minecraft 1.21 causes UnsupportedClassVersionError #1618

Open Supermarcel10 opened 5 months ago

Supermarcel10 commented 5 months ago

Describe the bug An UnsupportedClassVersionError is thrown during startup of vanilla Minecraft 1.21.

To Reproduce Steps to reproduce the behavior:

  1. Open GDLauncher
  2. Install Vanilla 1.21
  3. Run

Expected behavior No error is thrown

Possible solutions Update the launcher to use JDK21 in order to support Minecraft 1.21. It currently seems that GDLauncher assigns JDK17 despite JDK21 installed and present on the system.

It's possible to currently overcome this by simply setting "Custom Java Path" in Properties to JDK21.

Screenshots image

Operating System:

OttCS commented 5 months ago

Gorilla Devs are no longer working on this version on the launcher (last release was a year ago), but they have a new one with TONS of bug fixes from the past year (as well as support for 1.21): https://github.com/gorilla-devs/GDLauncher-Carbon. If you have the same problem, report it in that repo.

Supermarcel10 commented 4 months ago

@OttCS thanks for the heads up, I wasn't aware.

Maybe worthwhile making a final update to this stale repository, like a notification or update prompt of some sort for people to move to Carbon?

blarfoon commented 4 months ago

Will do it shortly, most likely this week. I've been very careful about not forcing or endorsing the new app to much until it was stable enough. For most people the first feedback is often the final and it was very important to not drive people away because of early bugs.