Unexplained Failure to Start Up

Get general Towns support here

Re: Unexplained Failure to Start Up

Postby ragnar » Fri Jun 28, 2013 10:12 am

Download the demo here:
http://www.townsgame.com/index.php?opti ... 4&Itemid=5

And see if it will run (if it does than it is some problem with steam, and we can narrow the problem).
ragnar
 
Posts: 596
Joined: Fri Feb 03, 2012 1:49 pm

Re: Unexplained Failure to Start Up

Postby ldd » Sat Jun 29, 2013 3:32 am

note: use the cmd file instead of the regular .exe to see how or why it terminates or open cmd and go to where towns is installed and run
"some_path -Djava.library.path=lib/native/ -jar lib/xaos.jar"
Map Editor make and edit your own towns file!
ldd
 
Posts: 51
Joined: Fri Jun 14, 2013 8:33 am

Re: Unexplained Failure to Start Up

Postby supermalparit » Sun Jun 30, 2013 8:08 am

ldd wrote:note: use the cmd file instead of the regular .exe to see how or why it terminates or open cmd and go to where towns is installed and run
"some_path -Djava.library.path=lib/native/ -jar lib/xaos.jar"


Yes, that should show you what the problem is
Xavi Canal
Image
User avatar
supermalparit
Towns team
 
Posts: 2444
Joined: Thu Oct 27, 2011 11:57 pm

Re: Unexplained Failure to Start Up

Postby Ocelot » Mon Jul 01, 2013 1:38 pm

I finally caught a screenshot of what it shows before the cmd shuts itself off (which is like a split second so it was taking some ninja reflexes to catch...)

I read it through and this is what it says:

Picked up _JAVA_OPTIONS: -Xmx512M
Error occurred during initialization of VM
Incompatible minimum and maximum heap sizes specified.
Ocelot
 
Posts: 8
Joined: Thu Jun 27, 2013 2:09 pm

Re: Unexplained Failure to Start Up

Postby johanwanderer » Mon Jul 01, 2013 10:14 pm

Try (from console/command line/terminal -- in Towns folder):
java -Xmx 1G -Djava.library.path=lib/native/ -jar lib/xaos.jar
johanwanderer
 
Posts: 230
Joined: Tue Apr 16, 2013 6:40 am

Re: Unexplained Failure to Start Up

Postby ldd » Mon Jul 01, 2013 11:05 pm

http://stackoverflow.com/questions/9350437/incompatible-initial-and-maximum-heap-sizes-specified
try java -Xmx 512m -Xms512m -Djava.library.path=lib/native/ -jar lib/xaos.jar
or perhaps simply skip the -xm tag:
java -Djava.library.path=lib/native/ -jar lib/xaos.jar
Map Editor make and edit your own towns file!
ldd
 
Posts: 51
Joined: Fri Jun 14, 2013 8:33 am

Re: Unexplained Failure to Start Up

Postby Ocelot » Tue Jul 02, 2013 11:23 am

Thanks so much guys, I opted to try changing them down to 512 512 and 1024 now it works.
Ocelot
 
Posts: 8
Joined: Thu Jun 27, 2013 2:09 pm

Re: Unexplained Failure to Start Up

Postby ldd » Tue Jul 02, 2013 1:44 pm

No problem. By the way, you could have opened a command prompt (start-> run command-> cmd). Then, you only needed to drag and drop the towns.cmd file from the file manager to the cmd application in order to execute it.
Map Editor make and edit your own towns file!
ldd
 
Posts: 51
Joined: Fri Jun 14, 2013 8:33 am

Previous

Return to Support

Who is online

Users browsing this forum: No registered users and 4 guests