Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Java in General
How to modify Execuatable Jar file??????????
Joined: Jan 02, 2002
Dec 28, 2002 03:06:00
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,
Joined: Dec 04, 2000
Dec 29, 2002 13:36:00
Hmm, it's hard to tell what the cause might be. It's been a while since I've really used java.io 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.
Joined: Feb 12, 2002
Dec 30, 2002 04:09:00
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.
I agree. Here's the link:
subject: How to modify Execuatable Jar file??????????
can run on eclispe but not command line
JAR and Class file reader
ERROR: Jar files and manifest probs
Accessing contents of a jar file
How to create an executable in java
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015