On Windows you can use Process Explorer. It can do a lot more, but finding open "handles" is one of its functionalities. On Linux / UNIX you can try lsof. Both will just say that java.exe has the lock though.
Joined: Mar 22, 2007
Sorry if the above message is interpreted as "Shout" , I only wanted to highlight it.
It is really sad to hear that we don't have any tool yet.. after these many years of JAVA arrival..