View Single Post
  #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