|
|
|
 |
|

August 5th, 2002, 04:19 PM
|
 |
Major General
|
|
Join Date: May 2002
Location: Linghem, Östergötland, Sweden
Posts: 2,255
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

August 5th, 2002, 04:23 PM
|
 |
Major General
|
|
Join Date: May 2002
Location: Linghem, Östergötland, Sweden
Posts: 2,255
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

August 5th, 2002, 06:13 PM
|
Second Lieutenant
|
|
Join Date: Mar 2001
Location: Netherlands
Posts: 479
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: SE4TTV : Version 1.1 available
Swedish doesn't matter, i got the Dutch Version
__________________
[Boo!]
|

August 5th, 2002, 06:18 PM
|
 |
Major General
|
|
Join Date: May 2002
Location: Linghem, Östergötland, Sweden
Posts: 2,255
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: SE4TTV : Version 1.1 available
Then I'm Dumbfunded
|

August 5th, 2002, 06:21 PM
|
Second Lieutenant
|
|
Join Date: Mar 2001
Location: Netherlands
Posts: 479
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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!]
|

August 5th, 2002, 11:41 PM
|
 |
Major General
|
|
Join Date: May 2002
Location: Linghem, Östergötland, Sweden
Posts: 2,255
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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 ]
|

August 5th, 2002, 11:50 PM
|
 |
Major General
|
|
Join Date: May 2002
Location: Linghem, Östergötland, Sweden
Posts: 2,255
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

August 6th, 2002, 12:48 PM
|
 |
Lieutenant General
|
|
Join Date: Jan 2001
Location: Oxford, UK
Posts: 2,592
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

August 10th, 2002, 06:43 PM
|
Second Lieutenant
|
|
Join Date: Jun 2002
Posts: 463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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'
|

August 10th, 2002, 08:01 PM
|
Second Lieutenant
|
|
Join Date: Mar 2001
Location: Netherlands
Posts: 479
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: SE4TTV : Version 1.1 available
could you post a sceenshot, or paste the complete error?
__________________
[Boo!]
|
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
|
|
|
|
|