[SOLVED] Could not to create Java Virtual Machine - Steam

Get general Towns support here

Re: [SOLVED] Could not to create Java Virtual Machine - Stea

Postby froz3nxsnip3r » Sat Sep 21, 2013 3:07 am

Made a account just to help you guys out. So this is what did it for me.

Sometimes you may have the latest version of Java installed but not the right bit of Java. When you go to Java's website and hit download Java or whatever by default your download the latest 32 bit version. You need to download the latest version based on your bit computer 32/64. You can run both for anyone that wants to know

Link: http://www.java.com/en/download/manual.jsp

Hope that helps!
froz3nxsnip3r
 
Posts: 1
Joined: Sat Sep 21, 2013 3:05 am

Re: [SOLVED] Could not to create Java Virtual Machine - Stea

Postby SurvivorZ » Fri May 02, 2014 5:15 am

That totally didn't work for me.

I've been playing Towns pretty much daily, last time at 4 PM today. Now at 11 PM, it doesn't work, giving this error, and nothing I do works.
SurvivorZ
 
Posts: 8
Joined: Wed May 22, 2013 5:11 am

Re: [SOLVED] Could not to create Java Virtual Machine - Stea

Postby SurvivorZ » Fri May 02, 2014 5:30 am

Via the command line:
Code: Select all
C:\Games\Towns>"c:\Program Files (x86)\Java\jre7\bin\java.exe" -Djava.library.path=lib/native/ -Xms1024M -Xmx2014M -Xss2048k -jar lib/xaos.jar
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.


So then I downloaded and installed 64-bit Java JRE.

Code: Select all
C:\Games\Towns>"c:\Program Files\Java\jre7\bin\java.exe" -Djava.library.path=lib/native/ -Xms1024M -Xmx3072M -Xss2048k -jar lib/xaos.jar


It worked very well, AND FASTER, since it's 64-bit floats *and* I can bump up the max ram to even 16 GB and the game FLIES with tons of people...
SurvivorZ
 
Posts: 8
Joined: Wed May 22, 2013 5:11 am

Previous

Return to Support

Who is online

Users browsing this forum: No registered users and 2 guests

cron