Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 7

Can not uninstall a file !

I am loading a jar at runtime using java URLClassloader.
When a jar is loaded, jvm takes a lock on it. so IA uninstaller can not delete it during uninstallation. (bcoz file is in use)
Is there any way to delete file after the uninstaller.exe completes its execution.
Bcoz the uninstaller related files like uninstaller.jar and jre are deleted after uninstaller.exe is finished.
Is there any way to add the locked jar in this?
Or some way to delete the file after the jvm is stopped i.e. uninstaller.exe is finished ?
Labels (1)
0 Kudos
(1) Reply
Level 20

Please refrain from creating new threads for unresolved issues: it won't help you to get a faster answer (you can, if you want, add new information to the initial thread, which in your case, is located here:
0 Kudos