.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 2: The Ascension Wars (http://forum.shrapnelgames.com/forumdisplay.php?f=55)
-   -   Combat Simulator Released! (http://forum.shrapnelgames.com/showthread.php?t=17065)

PDF February 29th, 2004 11:32 PM

Re: Combat Simulator Released!
 
Me again http://forum.shrapnelgames.com/images/icons/tongue.gif
Still won't run, got this when under a MS DOS box :

D:\Strategy\dominions2\doc\CombatSim>java fight militia militia 1000
Exception in thread "main" java.lang.NoClassDefFoundError: fight

Am I the only one unable to make the CombatSim run ? I've java properly installed, but usually only use JavaW apps with a GUI ...

Saber Cherry March 1st, 2004 12:08 AM

Re: Combat Simulator Released!
 
Ah!

Finally!

"Fight" must be capitalized. Most of the stuff is case-insensitive, but any file names ("Fight", "Matrix") must be exact.

Try again and tell me!

PDF March 2nd, 2004 06:56 PM

Re: Combat Simulator Released!
 
Quote:

Originally posted by Saber Cherry:
Ah!

Finally!

"Fight" must be capitalized. Most of the stuff is case-insensitive, but any file names ("Fight", "Matrix") must be exact.

Try again and tell me!

<font size="2" face="sans-serif, arial, verdana">Nope, whatever the case, FIGHT, fight, Fight or FiGhT give all the same error msg http://forum.shrapnelgames.com/images/icons/icon9.gif

Saber Cherry March 2nd, 2004 07:13 PM

Re: Combat Simulator Released!
 
If you type (from that directory):

dir Fight.class

does it show the file:

Fight.class (10,530 bytes)?

If that file is present, and typing

java Fight militia militia

gives you the error:

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

...then there is some crazy problem that I don't understand, like a corrupt file, or a broken Java installation. Sorry http://forum.shrapnelgames.com/images/icons/icon9.gif

Arryn March 2nd, 2004 07:14 PM

Re: Combat Simulator Released!
 
Grasping at straws with this, but what Version of the JRE are you using?

Saber Cherry March 2nd, 2004 07:25 PM

Re: Combat Simulator Released!
 
Good point. In addition to

dir Fight.class

try typing

java -Version

My development environment:

C:\WINDOWS>java -Version
java Version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)

Arryn March 2nd, 2004 07:34 PM

Re: Combat Simulator Released!
 
Quote:

Originally posted by Saber Cherry:
java Version "1.4.0"
<font size="2" face="sans-serif, arial, verdana">BTW, FYI, latest Version is 1.4.2_03, I'm running 1.4.2_01 .

PDF March 2nd, 2004 08:20 PM

Re: Combat Simulator Released!
 
Mine says :
java Version "1.4.2_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)

My install is very recent, cause I changed my comp by Christmas (it was a self-gift http://forum.shrapnelgames.com/images/icons/tongue.gif )

PDF March 2nd, 2004 08:24 PM

Re: Combat Simulator Released!
 
Quote:

Originally posted by Saber Cherry:
If you type (from that directory):

dir Fight.class

does it show the file:

Fight.class (10,530 bytes)?

If that file is present, and typing

java Fight militia militia

gives you the error:

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

...then there is some crazy problem that I don't understand, like a corrupt file, or a broken Java installation. Sorry http://forum.shrapnelgames.com/images/icons/icon9.gif

<font size="2" face="sans-serif, arial, verdana">DIR command gives :


D:\Strategy\dominions2\doc\CombatSim>dir fight.class

Le volume dans le lecteur D est DATA
Le numéro de série du volume est 7FD4-62B6
Répertoire de D:\Strategy\dominions2\doc\CombatSim

FIGHT~1 CLA 10 530 29/02/04 15:25 Fight.class
1 fichier(s) 10 530 octets
0 répertoire(s) 56 423.88 Mo libre

Looks Ok..
So it's an alien/broken Java install ? http://forum.shrapnelgames.com/images/icons/icon9.gif Will reinstall then ..

Saber Cherry March 2nd, 2004 08:31 PM

Re: Combat Simulator Released!
 
Quote:

Originally posted by PDF:
Looks Ok..
So it's an alien/broken Java install ? http://forum.shrapnelgames.com/images/icons/icon9.gif Will reinstall then ..

<font size="2" face="sans-serif, arial, verdana">That appears to be the case. I cannot think of any other possibility.

I would try running Scan Disk first, though.

[ March 02, 2004, 18:31: Message edited by: Saber Cherry ]


All times are GMT -4. The time now is 05:11 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.