Hi,
My application is compiled outside Netbeans and I keep having the same problem, Netbeans 6.1 keep locking some of my jars. I dont have any other processes with java running. As soon as I kill NB then I can compile fine. This is a real pain as I have to start NB all over again :(
Any workaround for this?
Sergio Lopes-3 wrote:
> I am using Netbeans 6.1 with jdk1.5.0_15. While Clean & Build a project I am
> getting the following error. I have seen different post regarding that issue
> in different forums and I come to know that in Netbeans 6.1 this bug has
> been resolved, but I am still facing it and believing that I cannot able to
> use netbeans. Is there anyone who know any workaround to solve this problem?
Have you made sure the application you are developing is not running.
You are trying to delete the Jar file that represent your application,
if the java process that executed it is still runnig, usually when the
aplication ends in an abnormal way, you'll not be able to clean the
project.
The quick way to clean is to end the java process that is blocked, go
to you task manager, find the process and end it. Note that you should
have at least two process named java.exe running, one is for the IDE
the other is for you application. I would say that the one consuming
less memory will be the one you want to kill.
The correct way to solve the problem would be to find why is your
application still running.
--
Sem mais e com os melhores cumprimentos,
Sérgio Lopes