Page 1 of 1

Can I run MAGE in Windows 8?

PostPosted: 08 Feb 2014, 17:10
by godisman
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

Re: Can I run MAGE in Windows 8?

PostPosted: 08 Feb 2014, 18:01
by LevelX
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?

Re: Can I run MAGE in Windows 8?

PostPosted: 09 Feb 2014, 11:14
by godisman
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

Re: Can I run MAGE in Windows 8?

PostPosted: 09 Feb 2014, 13:30
by LevelX
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

Re: Can I run MAGE in Windows 8?

PostPosted: 14 Feb 2014, 18:45
by godisman
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! (: