Forums Archived

This forum has been archived. No new posts can be made and no new users can sign up. It remains here for reference only.

Find the new forums here

Cant start Minecraft 1.18 Version

  • 3.6K Views
  • Last Post 19 December 2021
  • Topic Is Solved
Badwolf15002 posted this 10 December 2021

Windows 10 OS 10.0.19043

Product Name/Version: AMP v2.3.0.6

When I try and start minecraft with the 1.18 update it keep getting this error message.

*

Error: LinkageError occurred while loading main class net.minecraft.bundler.Main java.lang.UnsupportedClassVersionError: net/minecraft/bundler/Main has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 60.0

*

I can't seem to get past this error message. I have the JDK 16 installed & the latest version of Java.

I installed JDK 17 but it doesn't seem to be supported or showing up when i go and change the java version.

Instance Info

Order By: Standard | Newest | Votes
roxservers posted this 13 December 2021

Install jdk 17

Mike posted this 13 December 2021

Grab the nightly build of AMP and it'll detect the Java 17 installation.

Badwolf15002 posted this 14 December 2021

I updated to the Nightly build and under Java and Memory it still doesn't detect the JDK 17 installation i have.

I currently have both JDK 16 & 17 installed. Should i only have one?

Mike posted this 15 December 2021

You don't need 16 if you have 17 so remove 16.

Badwolf15002 posted this 16 December 2021

It still doesn't show up as an option (JDK 17)

My console now says this

Console17:07:35 Error: A JNI error has occurred, please check your installation and try again 17:07:36 Exception in thread "main" java.lang.UnsupportedClassVersionError: net/minecraft/bundler/Main has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)

Mike posted this 17 December 2021

Make sure all other java installations are removed from the machine.

Badwolf15002 posted this 17 December 2021

I have uninstalled the JDK 16, but it still doesnt detect the new version. Or should i uninstall Java and kep JDK 17

Mike posted this 18 December 2021

JDK17 should be the only thing on the system so far as java is concerned. Anything else should be removed.

Badwolf15002 posted this 19 December 2021

Got it Thanks

Close