|
|
|
 |

March 2nd, 2004, 07:14 PM
|
 |
Major General
|
|
Join Date: Jan 2004
Location: twilight zone
Posts: 2,247
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Combat Simulator Released!
Grasping at straws with this, but what Version of the JRE are you using?
|

March 2nd, 2004, 07:25 PM
|
 |
Major General
|
|
Join Date: Oct 2003
Location: Crystal Tokyo
Posts: 2,453
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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)
|

March 2nd, 2004, 07:34 PM
|
 |
Major General
|
|
Join Date: Jan 2004
Location: twilight zone
Posts: 2,247
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Combat Simulator Released!
Quote:
Originally posted by Saber Cherry:
java Version "1.4.0"
|
BTW, FYI, latest Version is 1.4.2_03, I'm running 1.4.2_01 .
|

March 2nd, 2004, 08:20 PM
|
Colonel
|
|
Join Date: Apr 2002
Location: Near Paris, France
Posts: 1,566
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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  )
|

March 2nd, 2004, 08:24 PM
|
Colonel
|
|
Join Date: Apr 2002
Location: Near Paris, France
Posts: 1,566
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
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 ? Will reinstall then ..
|

March 2nd, 2004, 08:31 PM
|
 |
Major General
|
|
Join Date: Oct 2003
Location: Crystal Tokyo
Posts: 2,453
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Combat Simulator Released!
Quote:
Originally posted by PDF:
Looks Ok..
So it's an alien/broken Java install ? Will reinstall then ..
|
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 ]
|

March 4th, 2004, 03:27 PM
|
Private
|
|
Join Date: Mar 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Combat Simulator Released!
Seems you hardcoded your path separator instead of using Java System.getProperty ("file.separator").
tsk.
Mac people, do this in terminal:
sed "s@Data\\@Data/@g" Data.class > Data.class.new; mv Data.class.new Data.class
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|