Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Jar tool - using it

  Asked By: Robert    Date: Apr 25    Category: Java    Views: 512

I've been frustating myself over this for quite some time now..I can't fugure
out how to create .jar files. I have searched the docu and have tried the
syntx there, no luck, tried some from a book..no luck, everytime I get this

Exception in thread "main" java.util.zip.ZipException: The system cannot find
the file specified
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:112)
at java.util.jar.JarFile.<init>(JarFile.java:117)
at java.util.jar.JarFile.<init>(JarFile.java:55)

What does this mean, I'm in the correct directory and the files do exist.
I'm able to run exsiting .jar applications.
Can you please tell me the correct syntax for using it, for creating a .jar
called SimuConfig with some files in, such as save.gif TabFilter.class etc.
BTW it is the tool that is packaged with the latest j2sdk(1.4.0) and windows
98 is the OS



No Answers Found. Be the First, To Post Answer.

Didn't find what you were looking for? Find more on Jar tool - using it Or get search suggestion and latest updates.