It is currently 19 Apr 2024, 20:20
   
Text Size

Can I run MAGE in Windows 8?

by BetaSteward

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

Can I run MAGE in Windows 8?

Postby godisman » 08 Feb 2014, 17:10

Is there a way for me to run MAGE in windows 8?
I am sorry if this is a re-post or something that has already been resolved or anything.
Thank you in advance.
Jonas
godisman
 
Posts: 3
Joined: 08 Feb 2014, 17:05
Has thanked: 1 time
Been thanked: 0 time

Re: Can I run MAGE in Windows 8?

Postby LevelX » 08 Feb 2014, 18:01

godisman wrote:Is there a way for me to run MAGE in windows 8?
I am sorry if this is a re-post or something that has already been resolved or anything.
Thank you in advance.
Jonas
I guess you only start the Win7 scrips and it should work.
Or didn't it work for you that way?
User avatar
LevelX
DEVELOPER
 
Posts: 1677
Joined: 08 Dec 2011, 15:08
Has thanked: 174 times
Been thanked: 374 times

Re: Can I run MAGE in Windows 8?

Postby godisman » 09 Feb 2014, 11:14

Thank you for your reply sir, but no it does not.
Yesterday when I tried the only thing that would happen was that the black dos-esque window would pop up and close and then nothing.
But today I keep getting
"Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occured. Program will exit."

Do I need to re-update Java?

Sincerely, Jonas
godisman
 
Posts: 3
Joined: 08 Feb 2014, 17:05
Has thanked: 1 time
Been thanked: 0 time

Re: Can I run MAGE in Windows 8?

Postby LevelX » 09 Feb 2014, 13:30

godisman wrote:Thank you for your reply sir, but no it does not.
Yesterday when I tried the only thing that would happen was that the black dos-esque window would pop up and close and then nothing.
But today I keep getting
"Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occured. Program will exit."

Do I need to re-update Java?

Sincerely, Jonas
Sounds a bit like a memory problem.
So check that you have enough free memory before you start the client.
It can help sometimes to install the 32bit java version instead of the 64bit version.

In the start script is a line that defines the memory allocated for the java virtual machine used by MAGE.

Code: Select all
start javaw -Xms256m -Xmx1024m -XX:MaxPermSize=384m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -jar .\lib\mage-client-1.3.0.jar
So it can be useful to test to start with different settings for Xms and Xmx values. Sometimes lower sometimes higher values did help.
If you like try for example to change the startClientWin7.bat script with these values und check if the client starts:

Code: Select all
start javaw -Xms256m -Xmx256m -XX:MaxPermSize=384m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -jar .\lib\mage-client-1.3.0.jar
Code: Select all
start javaw -Xms512m -Xmx512m -XX:MaxPermSize=384m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -jar .\lib\mage-client-1.3.0.jar
Code: Select all
start javaw -Xms768m -Xmx768m -XX:MaxPermSize=384m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -jar .\lib\mage-client-1.3.0.jar
Code: Select all
start javaw -Xms1024m -Xmx1024m -XX:MaxPermSize=384m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -jar .\lib\mage-client-1.3.0.jar
User avatar
LevelX
DEVELOPER
 
Posts: 1677
Joined: 08 Dec 2011, 15:08
Has thanked: 174 times
Been thanked: 374 times

Re: Can I run MAGE in Windows 8?

Postby godisman » 14 Feb 2014, 18:45

Thank you so much sir! I used the first script there on your list and changed it like you told me. It started perfectly, and so far it seems to run.
Once again, thank you so much for your help! (:
godisman
 
Posts: 3
Joined: 08 Feb 2014, 17:05
Has thanked: 1 time
Been thanked: 0 time


Return to XMage

Who is online

Users browsing this forum: No registered users and 143 guests


Who is online

In total there are 143 users online :: 0 registered, 0 hidden and 143 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 143 guests

Login Form