It is currently 25 Apr 2024, 13:38
   
Text Size

Xmage closes upon opening

by BetaSteward

Moderators: North, BetaSteward, noxx, jeffwadsworth, JayDi, TheElk801, LevelX, CCGHQ Admins

Xmage closes upon opening

Postby schof » 10 Aug 2014, 17:39

I'm on Mac 10.9.3 with the newest version of Java 64.

When I run the client script, the Xmage logo flashes, and instantly disappears. Nothing happens after that. The shell output is this:

Code: Select all
Exception in thread "main" java.lang.UnsupportedClassVersionError: mage/  client/ MageFrame : Unsupported major.minor version 51.0
Thank you!
schof
 
Posts: 4
Joined: 10 Aug 2014, 17:32
Has thanked: 0 time
Been thanked: 0 time

Re: Xmage closes upon opening

Postby LevelX » 10 Aug 2014, 20:25

Error looks like you trying to execute XMage with a java version < 1.7.
So check which JRE is really used.

Try to enter java -version to see which version is used.
User avatar
LevelX
DEVELOPER
 
Posts: 1677
Joined: 08 Dec 2011, 15:08
Has thanked: 174 times
Been thanked: 374 times

Re: Xmage closes upon opening

Postby schof » 10 Aug 2014, 21:37

looks like 1.6.
schof
 
Posts: 4
Joined: 10 Aug 2014, 17:32
Has thanked: 0 time
Been thanked: 0 time

Re: Xmage closes upon opening

Postby schof » 10 Aug 2014, 22:00

Solved:

Changed the client script to a different location of my java file.
schof
 
Posts: 4
Joined: 10 Aug 2014, 17:32
Has thanked: 0 time
Been thanked: 0 time

Re: Xmage closes upon opening

Postby LevelX » 10 Aug 2014, 22:03

schof wrote:Solved:

Changed the client script to a different location of my java file.
Nice, so I guess it runs native on MAC now?
User avatar
LevelX
DEVELOPER
 
Posts: 1677
Joined: 08 Dec 2011, 15:08
Has thanked: 174 times
Been thanked: 374 times

Re: Xmage closes upon opening

Postby Hogwallop » 11 Aug 2014, 05:19

schof wrote:Solved:

Changed the client script to a different location of my java file.
Can you explain how to do that? I'm running into the same problem.
Hogwallop
 
Posts: 3
Joined: 11 Aug 2014, 05:16
Has thanked: 0 time
Been thanked: 0 time

Re: Xmage closes upon opening

Postby nis42 » 13 Aug 2014, 00:06

I'm having the same problem on Mac. The xMage splash loading page opens and then the application closes.
nis42
 
Posts: 1
Joined: 13 Aug 2014, 00:04
Has thanked: 0 time
Been thanked: 0 time

Re: Xmage closes upon opening

Postby trifilob » 17 Oct 2014, 19:40

You have to download the JDK, or development kit for java 8. Not just java 8. It updates your version to 1.8 if you type java -version into terminal.

Something about JRE, or runtime environment being different from just java you download normally.
trifilob
 
Posts: 1
Joined: 17 Oct 2014, 19:38
Has thanked: 0 time
Been thanked: 0 time


Return to XMage

Who is online

Users browsing this forum: No registered users and 174 guests


Who is online

In total there are 174 users online :: 0 registered, 0 hidden and 174 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 174 guests

Login Form