File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes How to modify Execuatable Jar file?????????? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to modify Execuatable Jar file??????????" Watch "How to modify Execuatable Jar file??????????" New topic

How to modify Execuatable Jar file??????????

Parshuram Walunjkar
Ranch Hand

Joined: Jan 02, 2002
Posts: 31
Hi All
I am trying updating the Login.jar file.It gives such exception.

C:\TEMP>jar -uvf Login.jar mclasses\prop12.txt
adding: mclasses/prop12.txt(in = 241) (out= 107)(deflated 55%) Error in writing existing jar file

How can I modify the jar file.
waiting for reply,
Regards from
Parshuram Walunjkar
Mark Herschberg

Joined: Dec 04, 2000
Posts: 6037
Hmm, it's hard to tell what the cause might be. It's been a while since I've really used seriously, but I'm wondering if it's a file access problem, e.g.g the files is read only, the file is currently in use and so it's locked.
Nayanjyoti Talukdar
Ranch Hand

Joined: Feb 12, 2002
Posts: 71
I agree with Mark 'coz I tried to update a jar file with the same command. It's working fine!! So, I think the problem with the permission only.
jQuery in Action, 2nd edition
subject: How to modify Execuatable Jar file??????????
Similar Threads
ERROR: Jar files and manifest probs
How to create an executable in java
Accessing contents of a jar file
can run on eclispe but not command line
JAR and Class file reader