locked jar file

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.

[555 byte] By [Joannehoa] at [2007-10-2 5:40:14]
# 1
OS? How did you try to delete it?
CeciNEstPasUnProgrammeura at 2007-7-16 1:50:34 > top of Java-index,Java Essentials,New To Java...
# 2
I'm using windows xp and with NetBeans as the IDE. When I tried to rebuild my project, it says cannot delete the jar file. Then I tried to remove that file from explorer and it doesn't work either.
Joannehoa at 2007-7-16 1:50:34 > top of Java-index,Java Essentials,New To Java...
# 3
Do you have a queue manager installed on your machine. In case yes stop it for that might ne loading the jar file. Secondly as per my understanding queues in MQ are used for p2p communication which is synchronous so why do you need separate threads for the purpose? wont that be an over
kilyasa at 2007-7-16 1:50:34 > top of Java-index,Java Essentials,New To Java...