Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » How to find out which plugin is locking a jar file
How to find out which plugin is locking a jar file [message #626237] Wed, 22 September 2010 13:09
Haroldo de Oliveira Pinheiro is currently offline Haroldo de Oliveira PinheiroFriend
Messages: 5
Registered: April 2010
Junior Member
Recently, I've been running into an annoying issue:

Frequently, when I'm executing the build file for some of the projects in the workspace in order to create a jar file, I run into an error where the previous copy of the jar can't be overwritten because it's in use. It can't be because of a running java program, because there's none running; it can't be because of an external program, because closing Eclipse and opening it again solves the problem (for a while); moreover, Process Explorer (an enhanced Windows task manager) says the file is being kept open by eclipse.exe, which is not surprising, given the above, but also not tremendously useful, either, since it can't look inside the JVM to know which object is locking the file.

My question is: is there a way to know exactly what is locking this file?
Previous Topic:How to import Package Folder
Next Topic:Hot Replace always fails
Goto Forum:
  


Current Time: Thu Apr 25 05:51:33 GMT 2024

Powered by FUDForum. Page generated in 0.02844 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top