From: D-Man <ds...@ri...> - 2001-04-12 18:12:05
|
On Thu, Apr 12, 2001 at 09:01:00AM -0500, Nick Collier wrote: | Java provides an API for dealing with jar files in the java.util.jar | package. Perhaps using this API would allow you to accompilsh what you | are trying to do. They are only part java 1.2 though. I tried this API already. It basically allows you to create a new jar, then rename it to overwrite the old one. This doesn't work in my case because the jar file I want to overwrite is in use by the jvm. The rename fails, at least on windows. This is why I use a RandomAccessFile instead. -D |