Friday, May 31, 2002 08:45 AM
Can anyone tell me how to add a new class to an existing Jar file which is in use?
I want to be able to add to the jar whilst there is an application running which is using the jar (I cannot bring the application down and restart it), but it seems the jvm holds the jar file open so I can't add anything to it. I get the following message:
C:mystuff>jar uf MyJar.jar MyNewClass.class
java.io.IOException: Error in writing existing jar file