![]() |
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 |
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.
|
Re: SE4TTV : Version 1.1 available
Swedish doesn't matter, i got the Dutch Version
|
Re: SE4TTV : Version 1.1 available
Then I'm Dumbfunded
|
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" |
Re: SE4TTV : Version 1.1 available
Quote:
"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:2 3) 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 ] |
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 |
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.
|
Re: SE4TTV : Version 1.1 available
This dog won't hunt for me! http://forum.shrapnelgames.com/images/icons/icon9.gif Get all sorts of Java errors ranging from 'not implemented' to 'can't find'.
I have JRE installed on my system (WinXP). http://forum.shrapnelgames.com/image...s/confused.gif |
Re: SE4TTV : Version 1.1 available
could you post a sceenshot, or paste the complete error?
|
All times are GMT -4. The time now is 04:17 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.