I recently followed a tutorial on how to instal Forge for Minecraft 1.12. After I was done, I tried to test it and open up Minecraft 1.12 - Forge (with no mods loaded), and it crashed and gave me this output:
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/logging/log4j/Level : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:94)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
It has happened each time I tried to open it. My Java is up to date and I use Mac OS X version 10.7.5 on a MacBook Pro from early 2011. I hope this is enough info. Any help if appreciated
P.S. I don't have the new Minecraft launcher GUI I still have the old one that looks like this: (attached)
I don't know why i don't have the new one. I'm just assuming I have an unsupported operating system.
EDIT: I was looking through my old threads where I had a similar problem and the same solution worked for me! here is the solution I used if anyone else needs it:
"You need to manually set the java directory for the game. Go to System Preferences, click on "Java", go to the "Java" tab and click "View". Select and copy all of the text under "Path".
Now open the Minecraft Launcher. Click "Launch options" and click on the version of the game you're trying to run. Head down to "Java executable" and turn that on. Paste the text you copied into the box."
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I recently followed a tutorial on how to instal Forge for Minecraft 1.12. After I was done, I tried to test it and open up Minecraft 1.12 - Forge (with no mods loaded), and it crashed and gave me this output:
It has happened each time I tried to open it. My Java is up to date and I use Mac OS X version 10.7.5 on a MacBook Pro from early 2011. I hope this is enough info. Any help if appreciated
P.S. I don't have the new Minecraft launcher GUI I still have the old one that looks like this: (attached)
I don't know why i don't have the new one. I'm just assuming I have an unsupported operating system.
EDIT: I was looking through my old threads where I had a similar problem and the same solution worked for me!
here is the solution I used if anyone else needs it:
"You need to manually set the java directory for the game. Go to System Preferences, click on "Java", go to the "Java" tab and click "View". Select and copy all of the text under "Path".
Now open the Minecraft Launcher. Click "Launch options" and click on the version of the game you're trying to run. Head down to "Java executable" and turn that on. Paste the text you copied into the box."