Creating jar files
shwaip
bluffin' with my muffin Icrontian
I'm having trouble creating a jar file. I try this:
java -jar cf jarname.jar classname.class
(I use the real names )
and all I get is
java -jar cf jarname.jar classname.class
(I use the real names )
and all I get is
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>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
0
Comments
How cool is that?
jar cf jarname.jar classname.class
I get an error that jar is not a recognizable command/program/batch file.
edit://
Figured it out