Page 1 of 1

Xmage closes upon opening

PostPosted: 10 Aug 2014, 17:39
by schof
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!

Re: Xmage closes upon opening

PostPosted: 10 Aug 2014, 20:25
by LevelX
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.

Re: Xmage closes upon opening

PostPosted: 10 Aug 2014, 21:37
by schof
looks like 1.6.

Re: Xmage closes upon opening

PostPosted: 10 Aug 2014, 22:00
by schof
Solved:

Changed the client script to a different location of my java file.

Re: Xmage closes upon opening

PostPosted: 10 Aug 2014, 22:03
by LevelX
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?

Re: Xmage closes upon opening

PostPosted: 11 Aug 2014, 05:19
by Hogwallop
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.

Re: Xmage closes upon opening

PostPosted: 13 Aug 2014, 00:06
by nis42
I'm having the same problem on Mac. The xMage splash loading page opens and then the application closes.

Re: Xmage closes upon opening

PostPosted: 17 Oct 2014, 19:40
by trifilob
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.