Unsupported Class Version Error

The worst monsters in the Hearthlands warp the fabric of space and time...

Unsupported Class Version Error

Postby Porterwake » Tue Apr 19, 2016 12:55 am

Can't seem to launch the application anymore. The icon on the desktop that I always use says java lang unsupported class version error. unsupported major.minor version 52.0

Help for a noob? I'm not great with computers and this is the first time I've ever encountered this problem on this computer.
Porterwake
 
Posts: 124
Joined: Mon Sep 28, 2015 3:09 am
Location: Wisconsin

Re: Unsupported Class Version Error

Postby loftar » Tue Apr 19, 2016 3:23 am

Upgrade to the current version of Java.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9045
Joined: Fri Apr 03, 2009 7:05 am

Re: Unsupported Class Version Error

Postby Porterwake » Tue Apr 19, 2016 1:42 pm

Already did. Still unable to launch application.

I have Java 8, Update 77, just updated 4/19/2016
Porterwake
 
Posts: 124
Joined: Mon Sep 28, 2015 3:09 am
Location: Wisconsin

Re: Unsupported Class Version Error

Postby Porterwake » Tue Apr 19, 2016 5:50 pm

Launch File
<?xml version="1.0" encoding="utf-8" ?>
<jnlp spec="1.0+" codebase="http://game.havenandhearth.com/java/">
<information>
<title>Haven and Hearth</title>
<vendor>Seatribe</vendor>
<description>The Haven game</description>
<homepage href="http://www.havenandhearth.com/" />
<icon href="icon.gif" />
<icon href="splash.gif" kind="splash" />
</information>
<security>
<all-permissions />
</security>
<resources>
<j2se version="1.5+" max-heap-size="512M" />
<java version="1.5+" max-heap-size="512M" />
<jar href="hafen.jar" />
<extension href="http://game.havenandhearth.com/java/hafen-res.jnlp" name="jogl" />
<extension href="http://game.havenandhearth.com/java/jogl2/jogl-all-awt.jnlp" name="jogl" />
<property name="jnlp.haven.errorurl" value="http://game.havenandhearth.com/java/error" />
<property name="jnlp.haven.authck" value="ec3361a732effa1102104058ddab197567448b665b8b49b94abb0dcf0d5a357d" />
<property name="jnlp.haven.defserv" value="game.havenandhearth.com" />
<property name="jnlp.haven.fullscreen" value="off" />
<property name="jnlp.haven.authuser" value="Porterwake" />
<property name="jnlp.haven.resurl" value="http://game.havenandhearth.com/hres/" />
</resources>
<application-desc />
</jnlp>

Exception
java.lang.UnsupportedClassVersionError: haven/MainFrame : Unsupported major.minor version 52.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 com.sun.jnlp.JNLPClassLoader.findClass(JNLPClassLoader.java:348)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:295)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1587)
at com.sun.javaws.Launcher.run(Launcher.java:141)
at java.lang.Thread.run(Thread.java:695)
Porterwake
 
Posts: 124
Joined: Mon Sep 28, 2015 3:09 am
Location: Wisconsin

Re: Unsupported Class Version Error

Postby loftar » Tue Apr 19, 2016 7:37 pm

Porterwake wrote:Already did. Still unable to launch application.

I have Java 8, Update 77, just updated 4/19/2016

You must be wrong in some way, shape or form, because class-file version 52 is what Java 8 can read. Perhaps you have multiple versions installed, or something like that?
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9045
Joined: Fri Apr 03, 2009 7:05 am

Re: Unsupported Class Version Error

Postby Porterwake » Tue Apr 19, 2016 11:23 pm

Do you have any idea how I remove other versions or update to the correct version?
Porterwake
 
Posts: 124
Joined: Mon Sep 28, 2015 3:09 am
Location: Wisconsin

Re: Unsupported Class Version Error

Postby Porterwake » Tue Apr 19, 2016 11:40 pm

I'll do an uninstall and a reinstall tomorrow and let you know how it goes. Thank you for your assistance.
Porterwake
 
Posts: 124
Joined: Mon Sep 28, 2015 3:09 am
Location: Wisconsin

Re: Unsupported Class Version Error

Postby loftar » Wed Apr 20, 2016 12:08 am

Porterwake wrote:Do you have any idea how I remove other versions or update to the correct version?

Sorry, I can't say I know the details of how this is managed on Windows, which I assume you're using.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9045
Joined: Fri Apr 03, 2009 7:05 am

Re: Unsupported Class Version Error

Postby Granger » Wed Apr 20, 2016 6:02 am

loftar wrote:
Porterwake wrote:Do you have any idea how I remove other versions or update to the correct version?

Sorry, I can't say I know the details of how this is managed on Windows, which I assume you're using.

Control panel -> Programs and functions

Where you can uninstall software.
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
User avatar
Granger
 
Posts: 9264
Joined: Mon Mar 22, 2010 2:00 pm

Re: Unsupported Class Version Error

Postby Porterwake » Wed Apr 20, 2016 3:27 pm

I am unfortunately using the MacBook Pro that I am issued from the school I teach at. My Sony Vaio does not run H&H for some reason.
Porterwake
 
Posts: 124
Joined: Mon Sep 28, 2015 3:09 am
Location: Wisconsin

Next

Return to Bugs

Who is online

Users browsing this forum: Claude [Bot] and 66 guests