.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   SE4TTV : Version 1.1 available (http://forum.shrapnelgames.com/showthread.php?t=6582)

Ruatha August 5th, 2002 04:19 PM

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

Ruatha August 5th, 2002 04:23 PM

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.

Lemmy August 5th, 2002 06:13 PM

Re: SE4TTV : Version 1.1 available
 
Swedish doesn't matter, i got the Dutch Version

Ruatha August 5th, 2002 06:18 PM

Re: SE4TTV : Version 1.1 available
 
Then I'm Dumbfunded

Lemmy August 5th, 2002 06:21 PM

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"

Ruatha August 5th, 2002 11:41 PM

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"

<font size="2" face="Verdana, Helvetica, sans-serif">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.&lt;init&gt;(TreePanel.java:2 3)
at techviewer.TreeGUI.&lt;init&gt;(TreeGUI.java:21)
at MainGUI.&lt;init&gt;(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 ]

Ruatha August 5th, 2002 11:50 PM

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

oleg August 6th, 2002 12:48 PM

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.

Elowan August 10th, 2002 06:43 PM

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

Lemmy August 10th, 2002 08:01 PM

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.