Page 1 of 3

cannot get game to start

Posted: Wed Oct 29, 2008 9:09 pm
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

RE: cannot get game to start

Posted: Wed Oct 29, 2008 9:42 pm
by Erik Rutins
Hi,

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

Regards,

- Erik

RE: cannot get game to start

Posted: Thu Oct 30, 2008 7:38 pm
by jon1doc
hope this works the file upload I meanJD

RE: cannot get game to start

Posted: Thu Nov 06, 2008 8:45 pm
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

RE: cannot get game to start

Posted: Thu Nov 20, 2008 9:03 pm
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

RE: cannot get game to start

Posted: Thu Nov 20, 2008 9:04 pm
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

RE: cannot get game to start

Posted: Fri Nov 21, 2008 2:05 am
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

RE: cannot get game to start

Posted: Fri Nov 21, 2008 1:42 pm
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.

RE: cannot get game to start

Posted: Fri Nov 21, 2008 9:50 pm
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

RE: cannot get game to start

Posted: Sat Nov 22, 2008 11:47 am
by ekaranik
Im have exactly the same problem, just received my CD, installed ok, but get same error as mentioned here. Any help appreciated.

RE: cannot get game to start

Posted: Sat Nov 22, 2008 10:52 pm
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.

RE: cannot get game to start

Posted: Sun Nov 23, 2008 1:04 am
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.


RE: cannot get game to start

Posted: Sun Nov 23, 2008 11:20 am
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?


RE: cannot get game to start

Posted: Sun Nov 23, 2008 11:23 am
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.

RE: cannot get game to start

Posted: Sun Nov 23, 2008 8:31 pm
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.

RE: cannot get game to start

Posted: Mon Nov 24, 2008 9:59 am
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.

RE: cannot get game to start

Posted: Mon Nov 24, 2008 3:03 pm
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?

RE: cannot get game to start

Posted: Tue Nov 25, 2008 7:40 am
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;

RE: cannot get game to start

Posted: Tue Nov 25, 2008 5:51 pm
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?



RE: cannot get game to start

Posted: Wed Nov 26, 2008 8:09 am
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.