.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #31  
Old August 5th, 2002, 04:19 PM
Ruatha's Avatar

Ruatha Ruatha is offline
Major General
 
Join Date: May 2002
Location: Linghem, Östergötland, Sweden
Posts: 2,255
Thanks: 0
Thanked 0 Times in 0 Posts
Ruatha is on a distinguished road
Default Re: SE4TTV : Version 1.1 available

Now I tried the latest beta and added the game directory to DOs path, still I get:
Exception in thread "main" java.lang.NoClassDefFoundError: Main
Both run.bat and Main.class and all the files are in the same directory : The game directory, that is also defined in SE4TV.INI
Reply With Quote
  #32  
Old August 5th, 2002, 04:23 PM
Ruatha's Avatar

Ruatha Ruatha is offline
Major General
 
Join Date: May 2002
Location: Linghem, Östergötland, Sweden
Posts: 2,255
Thanks: 0
Thanked 0 Times in 0 Posts
Ruatha is on a distinguished road
Default Re: SE4TTV : Version 1.1 available

Can it be that I'm not running an English ver of WinXP? I'm using the Swedish Version.
Reply With Quote
  #33  
Old August 5th, 2002, 06:13 PM

Lemmy Lemmy is offline
Second Lieutenant
 
Join Date: Mar 2001
Location: Netherlands
Posts: 479
Thanks: 0
Thanked 0 Times in 0 Posts
Lemmy is on a distinguished road
Default Re: SE4TTV : Version 1.1 available

Swedish doesn't matter, i got the Dutch Version
__________________
[Boo!]
Reply With Quote
  #34  
Old August 5th, 2002, 06:18 PM
Ruatha's Avatar

Ruatha Ruatha is offline
Major General
 
Join Date: May 2002
Location: Linghem, Östergötland, Sweden
Posts: 2,255
Thanks: 0
Thanked 0 Times in 0 Posts
Ruatha is on a distinguished road
Default Re: SE4TTV : Version 1.1 available

Then I'm Dumbfunded
Reply With Quote
  #35  
Old August 5th, 2002, 06:21 PM

Lemmy Lemmy is offline
Second Lieutenant
 
Join Date: Mar 2001
Location: Netherlands
Posts: 479
Thanks: 0
Thanked 0 Times in 0 Posts
Lemmy is on a distinguished road
Default Re: SE4TTV : Version 1.1 available

maybe the classpath set, try typing "set CLASSPATH" at the dosprompt, it should say the variable isn't defined, if it is defined and show "CLASSPATH=xxxx", try replacing everything in run.bat with this:

set CLASSPATH=XXX
java Main
PAUSE

replace "XXX" with the directory where it is installed, for exmaple "c:\viewer"
__________________
[Boo!]
Reply With Quote
  #36  
Old August 5th, 2002, 11:41 PM
Ruatha's Avatar

Ruatha Ruatha is offline
Major General
 
Join Date: May 2002
Location: Linghem, Östergötland, Sweden
Posts: 2,255
Thanks: 0
Thanked 0 Times in 0 Posts
Ruatha is on a distinguished road
Default Re: SE4TTV : Version 1.1 available

Quote:
Originally posted by Lemmy:
maybe the classpath set, try typing "set CLASSPATH" at the dosprompt, it should say the variable isn't defined, if it is defined and show "CLASSPATH=xxxx", try replacing everything in run.bat with this:

set CLASSPATH=XXX
java Main
PAUSE

replace "XXX" with the directory where it is installed, for exmaple "c:\viewer"
It said:
"CLASSPATH="c\QTJava.zip"
I changed the run.bat as suggested.
Something happened, the new error message is:=
"null line 0
java.io.FileNotFoundException: C:\Program Files\Space Empires IV Gold\Data\TechA
rea.txt does not exist
at Loader.loadTechs(Loader.java:39)
at Loader.load(Loader.java:23)
at Main.main(Main.java:19)
Exception in thread "main" java.lang.NullPointerException
at Loader.getNumTechs(Loader.java:699)
at techviewer.TreePanel.getStartTechs(TreePanel.java: 110)
at techviewer.TreePanel.placeTechs(TreePanel.java:31)
at techviewer.TreePanel.<init>(TreePanel.java:23)
at techviewer.TreeGUI.<init>(TreeGUI.java:21)
at MainGUI.<init>(MainGUI.java:16)
at Main.main(Main.java:30)"

I dont have any "Program Files" directory, in the swedish Version all programs goes into the "program" directory.
But the Path to SE4 is "C:\Spel\Space empires IV Gold"
this is the new run.bat:
"set classpath=c:\spel\space empires IV Gold
java Main
PAUSE"

When I try "Set Classpath" after running and getting above error the classpath is :
"CLASSPATH=c:\spel\space empires IV Gold"

[ August 05, 2002, 22:47: Message edited by: Ruatha ]
Reply With Quote
  #37  
Old August 5th, 2002, 11:50 PM
Ruatha's Avatar

Ruatha Ruatha is offline
Major General
 
Join Date: May 2002
Location: Linghem, Östergötland, Sweden
Posts: 2,255
Thanks: 0
Thanked 0 Times in 0 Posts
Ruatha is on a distinguished road
Default Re: SE4TTV : Version 1.1 available

Eureka, that did it.
I checked the SE4tv.ini and it had somehow changed the path to "c:\program files\Space empires IV Gold\data"
instead of "c:\spel\space empires iv gold\data"
As I don't have any "Program files" directory I would never put that there myself.
Well now it works, but why all this happened I don't know.

Thanx
Reply With Quote
  #38  
Old August 6th, 2002, 12:48 PM
oleg's Avatar

oleg oleg is offline
Lieutenant General
 
Join Date: Jan 2001
Location: Oxford, UK
Posts: 2,592
Thanks: 0
Thanked 0 Times in 0 Posts
oleg is on a distinguished road
Default Re: SE4TTV : Version 1.1 available

Wow, you must have a very interesting Windows set-up. "program files" is present as a default in every Windows installations I ever saw.
__________________
It is forbidden to kill; therefore all murderers are punished unless they kill in large numbers and to the sound of trumpets. - Voltaire
Reply With Quote
  #39  
Old August 10th, 2002, 06:43 PM

Elowan Elowan is offline
Second Lieutenant
 
Join Date: Jun 2002
Posts: 463
Thanks: 0
Thanked 0 Times in 0 Posts
Elowan is on a distinguished road
Default Re: SE4TTV : Version 1.1 available

This dog won't hunt for me! Get all sorts of Java errors ranging from 'not implemented' to 'can't find'.

I have JRE installed on my system (WinXP).
__________________
'There are old space jockies and bold space jockies but there ain't no old, bold space jockies'
Reply With Quote
  #40  
Old August 10th, 2002, 08:01 PM

Lemmy Lemmy is offline
Second Lieutenant
 
Join Date: Mar 2001
Location: Netherlands
Posts: 479
Thanks: 0
Thanked 0 Times in 0 Posts
Lemmy is on a distinguished road
Default Re: SE4TTV : Version 1.1 available

could you post a sceenshot, or paste the complete error?
__________________
[Boo!]
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 10:45 AM.


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