Unsupported Class Version Error

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

Re: Unsupported Class Version Error

Postby Porterwake » Wed Apr 20, 2016 4:04 pm

I have completely uninstalled all versions of Java and reinstalled the latest version from Oracles website and I still get the same error message.

I don't understand, this game worked for me just fine up until last week.

Last game login was at
2016-04-13 01:13
Accumulated playing time:
0 weeks, 3 days, 05 hours, 37 minutes, 01 seconds
Account status:
Verified account

I don't know what happened between last week and when I got back from vacation.
Porterwake
 
Posts: 124
Joined: Mon Sep 28, 2015 3:09 am
Location: Wisconsin

Re: Unsupported Class Version Error

Postby loftar » Wed Apr 20, 2016 4:15 pm

Porterwake wrote:I don't understand, this game worked for me just fine up until last week.

That is because the client now requires Java 8, due to the recent optimizations. Prior to that, it only required Java 5.

I can't say I know how or why your system runs some version of Java prior to 8, though, but the error message does make it clear that that is what happens. If you want to debug it further, you can open a Command Prompt or Terminal Emulator or however it is Apple names it, running the following commands and posting the output of them:
Code: Select all
java -version
ls -l $(which -a java javaws)
"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 MagicManICT » Wed Apr 20, 2016 5:01 pm

Porterwake wrote:I am unfortunately using the MacBook Pro that I am issued from the school I teach at.

You might check with whomever does the tech support for your computers about this. They might be able to walk you through it or help you.

@loftar: could it be anything to do with Apple's wonky Java that has been a problem in the past? Or is that not an issue anymore?
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
User avatar
MagicManICT
 
Posts: 18436
Joined: Tue Aug 17, 2010 1:47 am

Re: Unsupported Class Version Error

Postby Porterwake » Wed Apr 20, 2016 5:29 pm

Edited
Last edited by Porterwake on Wed Apr 20, 2016 8:53 pm, edited 2 times in total.
Porterwake
 
Posts: 124
Joined: Mon Sep 28, 2015 3:09 am
Location: Wisconsin

Re: Unsupported Class Version Error

Postby loftar » Wed Apr 20, 2016 7:08 pm

Porterwake wrote:
Code: Select all
mf23-wgreenwood:~ wgreenwood$ mf23-wgreenwood:~ wgreenwood$ java -version
-bash: mf23-wgreenwood:~: command not found

I've no idea what you've managed to do here. Have you copy-pasted the command prompt into the command-prompt itself... and then added the commands I gave you to 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 » Wed Apr 20, 2016 8:44 pm

I see what stupid thing I did. I will fix it.

Thank you Loftar for your time and effort in my problem.
Last edited by Porterwake on Wed Apr 20, 2016 8:56 pm, edited 2 times in total.
Porterwake
 
Posts: 124
Joined: Mon Sep 28, 2015 3:09 am
Location: Wisconsin

Re: Unsupported Class Version Error

Postby Porterwake » Wed Apr 20, 2016 8:47 pm

Code: Select all
mf23-wgreenwood:~ wgreenwood$ java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-468-11M4833)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-468, mixed mode)

mf23-wgreenwood:~ wgreenwood$ ls -l $(which -a java javaws)
lrwxr-xr-x  1 root  wheel  74 Nov  1 20:11 /usr/bin/java -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
lrwxr-xr-x  1 root  wheel  59 Nov  1 20:15 /usr/bin/javaws -> /System/Library/Frameworks/JavaVM.framework/Commands/javaws



I believe that is what you may be looking for?
Last edited by loftar on Thu Apr 21, 2016 12:08 am, edited 1 time in total.
Reason: Code tags
Porterwake
 
Posts: 124
Joined: Mon Sep 28, 2015 3:09 am
Location: Wisconsin

Re: Unsupported Class Version Error

Postby Porterwake » Thu Apr 21, 2016 12:01 am

I have installed the dev kit, here is my error:

The application has requested a version of the JRE (version 1.8+) that is not installed

<?xml version="1.0" encoding="utf-8" ?>
<jnlp codebase="http://game.havenandhearth.com/java/" spec="1.0+">
<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 max-heap-size="512M" version="1.8+" />
<java max-heap-size="512M" version="1.8+" />
<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 value="f4c942e1bb3f6413642b7adb988d78c2d004215d1cedda3cd1c7d3bda4087111" name="jnlp.haven.authck" />
<property value="off" name="jnlp.haven.fullscreen" />
<property value="game.havenandhearth.com" name="jnlp.haven.defserv" />
<property value="http://game.havenandhearth.com/hres/" name="jnlp.haven.resurl" />
<property value="http://game.havenandhearth.com/java/error" name="jnlp.haven.errorurl" />
<property value="Porterwake" name="jnlp.haven.authuser" />
</resources>
<application-desc />
</jnlp>

Code: Select all
mf23-wgreenwood:~ wgreenwood$ java -version
java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)
Last edited by Porterwake on Thu Apr 21, 2016 12:11 am, edited 1 time in total.
Porterwake
 
Posts: 124
Joined: Mon Sep 28, 2015 3:09 am
Location: Wisconsin

Re: Unsupported Class Version Error

Postby loftar » Thu Apr 21, 2016 12:11 am

Porterwake wrote:
Code: Select all
mf23-wgreenwood:~ wgreenwood$ java -version
java version "1.6.0_65"

Well, that does indeed tell you, at least, that you are infact running Java 6, not Java 8. (Java 1.6 is also known as Java 6, and Java 1.8 and Java 8 -- the initial 1 is often dropped.)

I can't say I know how Java installation works on OSX, but are you really sure you followed the correct installation procedures when you downloaded Java 8?

Porterwake wrote:
Code: Select all
/System/Library/Frameworks/JavaVM.framework/Versions/

Are there several versions installed in this directory?
"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 » Thu Apr 21, 2016 12:12 am

It is a directory and if you look at my recent posts, the Mac is recognizing that I am now using Java 8
Porterwake
 
Posts: 124
Joined: Mon Sep 28, 2015 3:09 am
Location: Wisconsin

PreviousNext

Return to Bugs

Who is online

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