cannot get game to start

Post bug reports and other issues here.
jon1doc
Posts: 14
Joined: Sun Oct 26, 2008 2:33 pm

cannot get game to start

Post by jon1doc »

Happy with download.no probs there.Now I click either the menu or quick start ,the cmd.exe window opens for a split sec,disappears and nothing else happens.any ideas what to do??please ....I would like to play the game since I have it now but how??JD
User avatar
Erik Rutins
Posts: 39324
Joined: Tue Mar 28, 2000 4:00 pm
Location: Vermont, USA
Contact:

RE: cannot get game to start

Post by Erik Rutins »

Hi,

Could you post a DxDiag file for us please (instructions at the top of this forum).

Regards,

- Erik
Erik Rutins
CEO, Matrix Games LLC


Image

For official support, please use our Help Desk: http://www.matrixgames.com/helpdesk/

Freedom is not Free.
jon1doc
Posts: 14
Joined: Sun Oct 26, 2008 2:33 pm

RE: cannot get game to start

Post by jon1doc »

hope this works the file upload I meanJD
Attachments
DxDiag30.10.08.txt
(66.84 KiB) Downloaded 13 times
jon1doc
Posts: 14
Joined: Sun Oct 26, 2008 2:33 pm

RE: cannot get game to start

Post by jon1doc »

I know you must be busy ...but I feel like asking for my money back
DXdiag posted on the 30/10/08.
Happy New President
Regards JD
jon1doc
Posts: 14
Joined: Sun Oct 26, 2008 2:33 pm

RE: cannot get game to start

Post by jon1doc »

Hi again.
can you tell me more about java runtime ,what I should have installed 1.5.10 or 1.6,and/or "exceptions" which I can just make out in cmd.exe box which appears for split second.Or do I need to do something with AVG firewall??
Best Regards and greetings from Scotland
JD
jon1doc
Posts: 14
Joined: Sun Oct 26, 2008 2:33 pm

RE: cannot get game to start

Post by jon1doc »

Hi again.
can you tell me more about java runtime ,what I should have installed 1.5.10 or 1.6,and/or "exceptions" which I can just make out in cmd.exe box which appears for split second.Or do I need to do something with AVG firewall??
Best Regards and greetings from Scotland
JD
User avatar
Erik Rutins
Posts: 39324
Joined: Tue Mar 28, 2000 4:00 pm
Location: Vermont, USA
Contact:

RE: cannot get game to start

Post by Erik Rutins »

Hi JD,

Sorry I completely missed your reply. Unfortunately our forum coverage can sometimes have gaps. Feel free to use the e-mail button to contact me if I miss something.

Your DxDiag looks fine.

Have you tried reinstalling and running in the "Low" memory mode to see if that makes a difference? Have you tried the latest beta update?

All that is necessary Java-wise is included with the game, so you shouldn't have to change anything there. Are you playing with an Administrator-level account?

Regards,

- Erik
Erik Rutins
CEO, Matrix Games LLC


Image

For official support, please use our Help Desk: http://www.matrixgames.com/helpdesk/

Freedom is not Free.
User avatar
Moltke71
Posts: 1246
Joined: Sat Sep 23, 2000 3:00 pm

RE: cannot get game to start

Post by Moltke71 »

I'm no techie but what anti-virus app arre you using? My Norman AV has taken to calling recent Matrix game exe files viruses. I've gotten around this by adding the directory to the scan exclusion list.
Jim Cobb
jon1doc
Posts: 14
Joined: Sun Oct 26, 2008 2:33 pm

RE: cannot get game to start

Post by jon1doc »

Thank you for your reply .
I have un and re installed x 2 and each time the same result occurs.
I have not tried any update- Im sure Ill find it via the forum.
I did update java runtime to most recent.

In reply to Bismark <hiya>
AVG Internet Security Suite
ekaranik
Posts: 13
Joined: Fri Feb 01, 2008 11:11 pm

RE: cannot get game to start

Post by ekaranik »

Im have exactly the same problem, just received my CD, installed ok, but get same error as mentioned here. Any help appreciated.
ekaranik
Posts: 13
Joined: Fri Feb 01, 2008 11:11 pm

RE: cannot get game to start

Post by ekaranik »

I still cant get the game working. When you click on the PLAY link, a dos box flashs open with a message but shuts immediately. The message is

"Exception in thread "main" java.lang.NoClassDefFoundError: CNAW"

The OS is Windows XP and the version of java I have is

java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)

Please help. I will post this at Slitherine Software to see if they can help.

Thanks.
ekaranik
Posts: 13
Joined: Fri Feb 01, 2008 11:11 pm

RE: cannot get game to start

Post by ekaranik »

OK, I've got a work around that gets it going.

1. Instead of trying to run game from Menu, which would not work for me, open up a dos box and change directory to where you installed the game. eg C:\Matrix Games\Commander - Napoleon At War>

Then type at the command line

java -Xms256m -Xmx512m -classpath . CNAW

It then works fine.

User avatar
firepowerjohan
Posts: 378
Joined: Sat Apr 07, 2007 10:50 am
Contact:

RE: cannot get game to start

Post by firepowerjohan »

ORIGINAL: ekaranik

I still cant get the game working. When you click on the PLAY link, a dos box flashs open with a message but shuts immediately. The message is

"Exception in thread "main" java.lang.NoClassDefFoundError: CNAW"

The OS is Windows XP and the version of java I have is

java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)

Please help. I will post this at Slitherine Software to see if they can help.

Thanks.


"Exception in thread "main" java.lang.NoClassDefFoundError: CNAW"

- This is a path problem, where did you install the game?

Johan Persson - Firepower Entertainment
Lead developer of:
World Empires Live http://www.worldempireslive.com/
CEAW http://www.slitherine.com/forum/viewforum.php?f=18
CNAW http://www.slitherine.com/forum/viewforum.php?f=52


User avatar
firepowerjohan
Posts: 378
Joined: Sat Apr 07, 2007 10:50 am
Contact:

RE: cannot get game to start

Post by firepowerjohan »

To everyone that cannot get game to start. Please check that there is a "CNAW.class" file in your folder where installing the game. If that file does not exist then installation has failed somehow.
Johan Persson - Firepower Entertainment
Lead developer of:
World Empires Live http://www.worldempireslive.com/
CEAW http://www.slitherine.com/forum/viewforum.php?f=18
CNAW http://www.slitherine.com/forum/viewforum.php?f=52


ekaranik
Posts: 13
Joined: Fri Feb 01, 2008 11:11 pm

RE: cannot get game to start

Post by ekaranik »

The install complete successfully, I accepted all the default settings.

The problem was when I tried to run the program via the supplied icon / menu interface that was supplied with the game.

Thats when I got the "Exception in thread "main" java.lang.NoClassDefFoundError: CNAW" error.

The CNAW.class file existed in the installed directory so the install did not fail.

The problem I believe lies in the way the game was executed from the supplied icon / menu interface.

By bypassing it and running the games via the command line it ran ok.

Fortunately I know a little bit about java so I could fix it myself, but I must say that this should not of happened at all and the support boards didn't seem to provide an answer either.
User avatar
IainMcNeil
Posts: 2784
Joined: Tue Oct 26, 2004 10:01 am
Location: London
Contact:

RE: cannot get game to start

Post by IainMcNeil »

That's really interesting ekaranik and we've no idea why this happens. Johan will look in to it. Your command lines are different to what we use so maybe we need to change our settings.
Iain McNeil
Director
Matrix Games
User avatar
firepowerjohan
Posts: 378
Joined: Sat Apr 07, 2007 10:50 am
Contact:

RE: cannot get game to start

Post by firepowerjohan »

Is there a jre folder included in the installation? That is the Java the game should use hence we use jre\bin\java to locally guarantee that the correct java version is used and that all users use the same Java. This should mean it does not matter what Java you have installed on your machine.

ekaranik, can you try jre\bin\java Xss30m -Xms300m -Xmx600m CNAW
from the installaton directory and see if also the local jre folder works?
Johan Persson - Firepower Entertainment
Lead developer of:
World Empires Live http://www.worldempireslive.com/
CEAW http://www.slitherine.com/forum/viewforum.php?f=18
CNAW http://www.slitherine.com/forum/viewforum.php?f=52


ekaranik
Posts: 13
Joined: Fri Feb 01, 2008 11:11 pm

RE: cannot get game to start

Post by ekaranik »

RE can you try jre\bin\java Xss30m -Xms300m -Xmx600m CNAW ? Results below.
[font="courier new"]C:\Matrix Games\Commander - Napoleon At War>jre\bin\java -Xss30m -Xms300m -Xmx600m CNAW
Exception in thread "main" java.lang.NoClassDefFoundError: CNAW
[/font]
[font="courier new"]C:\Matrix Games\Commander - Napoleon At War>[/font]
&nbsp;
User avatar
firepowerjohan
Posts: 378
Joined: Sat Apr 07, 2007 10:50 am
Contact:

RE: cannot get game to start

Post by firepowerjohan »

ORIGINAL: ekaranik

RE can you try jre\bin\java Xss30m -Xms300m -Xmx600m CNAW ? Results below.
[font="courier new"]C:\Matrix Games\Commander - Napoleon At War>jre\bin\java -Xss30m -Xms300m -Xmx600m CNAW
Exception in thread "main" java.lang.NoClassDefFoundError: CNAW
[/font]
[font="courier new"]C:\Matrix Games\Commander - Napoleon At War>[/font]

On machines I seen so far, both the
case a) jre\bin\java -Xss30m -Xms300m -Xmx600m CNAW
and
case b) jre\bin\java -Xss30m -Xms300m -Xmx600m -classpath . CNAW

work, but do you imply that case b is better and that it would work for all machines?


Johan Persson - Firepower Entertainment
Lead developer of:
World Empires Live http://www.worldempireslive.com/
CEAW http://www.slitherine.com/forum/viewforum.php?f=18
CNAW http://www.slitherine.com/forum/viewforum.php?f=52


ekaranik
Posts: 13
Joined: Fri Feb 01, 2008 11:11 pm

RE: cannot get game to start

Post by ekaranik »

Hi Johan,

Case A) jre\bin\java -Xss30m -Xms300m -Xmx600m -classpath . CNAW did not work, gave same error as mentioned before.

Case B) jre\bin\java -Xss30m -Xms300m -Xmx600m -classpath . CNAW worked and the game ran ok.

BTW, great game, I am enjoying it immensely, thankyou for producing it.

Best Regards Ellis.
Post Reply

Return to “Tech Support”