i hav got another problem now i am trying to update the jar file but i get error that you that hav the write permision on it.
So then i extracted thhat jar file usnig
jar -xvf <filename.jar>
but as i opened the jar using winzip i displays 50 files but after extracting i get only 35 files ... why so ?
i update the gif inside that jar file
& then i recompress to jar using
jar -cvf myjar.jar myjar
the jar is prepared of only 35 files ...
& the applet doesnt work ...
06-22-2006, 10:30 AM
graviton
i suggest you to use totalcommander, which is freeware.
it supports working with jar files like normal folders.
you can use it to inject any classes to a jar file structure.
06-22-2006, 04:00 PM
DEVILSAN
This is the error that i get when i try to update the gif file :confused:
java.io.IOException: Error in writing existing jar file
at sun.tools.jar.Main.run(Main.java:177)
at sun.tools.jar.Main.main(Main.java:903)
06-22-2006, 04:20 PM
DEVILSAN
whenever i try to update the existing file inside that particular jar file it gets addedinstead of overwriting on it , it coexist in it with same filename... what should i do to overwrite it .?