Announcement
Collapse
No announcement yet.
Unable to find a gif
Collapse
X
-
i got it working now thanks.
not sure why it wouldnt befoe
but maybe i typed wrong or something was running in the background
thank you
and sorry for taking your time
Leave a comment:
-
Do you mean in cmd typing
java game.manager.GameMain
or
java game.manager.GameMain -classpath (where you installed the files)
doesn't work?
Leave a comment:
-
thanks
the java is j2re-1_4_2_13-windows-i586-p
is what the installer was called so thats probably it.
if i open the file in cmd then it just runs the what-do-you-want-to-run-this-on, but im probably missing a step or something.
no worries.Last edited by orinsul; November 16, 2006, 07:33.
Leave a comment:
-
Hi,
You can try this:
It's possible that your javaw doesn't like the whitespaces in file names for some reason, so you can also try this: Unzip the .jar in a directory, launch a cmd, go to that directory and run java game.manager.GameMain from there (you may need to 'set CLASSPATH=.' if it doesn't work but it should).
This worked for someone else who had the same problem. I've been unable to reproduce it myself, however.
The file is in the jar, so I don't understand why javaw doen't find it inside the jar for some people. Which version of java do you use?
Leave a comment:
-
Unable to find a gif
ive placed the file in the apropraite place and ive looked though the jar file with winrar and couldnt find the gif. and as such it cannot work.
this is the message
Error display: Loading image /tiles/Wooden Wall.gif
java.io.FileNotFoundException: JAR entry tiles/Wooden%20Wall.gif not found in ...\Desktop\ClashDemo\ClashD81.jar
at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
at sun.net.www.protocol.jar.JarURLConnection.getContent(Unknown Source)
at java.net.URL.getContent(Unknown Source)
at game.gui.Picture.loadImage(Picture.java:126)
at game.gui.PictureList.read(PictureList.java:60)
at game.data.FileInput$ImagesFile.read(FileInput.java :391)
at game.data.FileInput.read(FileInput.java:65)
at game.manager.Game.(Game.java:56)
at game.manager.GameMain.main(GameMain.java:9)
thank youTags: None
Leave a comment: