Error: Cannot find the main class. Program will exit

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Bryan Foster

New Member
Jul 29, 2019
5
0
0
Operating System and bit type: windows 7: 32 bit
Java version/update and bit type: newest java
Launcher version: windows 7
Console log, pastebin.com link:
Description of the Issue: i try to launch ftb and this error comes up:


java.lang.UnsupportedClassVersionError: net/ftb/mclauncher/MinecraftLauncher (Unsupported major.minor version 50.0)
at java.lang.ClassLoader.defineClass0(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.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 java.lang.ClassLoader.loadClassInternal(Unknown Source)
 

Voided30

New Member
Jul 29, 2019
26
0
0
Uninstall all of your java versions and restart your computer. After you restart go Here and make sure to get the latest 32 bit version of java. Hope this helps :)