• Post Reply Bookmark Topic Watch Topic
  • New Topic

locked jar file  RSS feed

 
Joanne Ho
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am developing a java program which has 2 threads, one to read the inbound MQ and the other to write message to the outbound Q.

Since it is still in the development stage and sometimes the program aborted with exceptions. Then I tried to change the code and rebuild the program but I couldn't delete the previous jar file due to it is locked by other processes. The strange thing was even after I rebooted my PC it is still locked.

Could anyone please teach how to kill processes which locked the jar file. Many thanks.
 
Paul Clapham
Sheriff
Posts: 22505
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Assuming you are using Windows, download Process Explorer from sysinternals.com. It allows you to find what process is using a "handle" (that's what they call a connection to a file).
 
Joanne Ho
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks but I tried that and I couldn't find the entry showing the locked jar file
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!