Netbeans Error Lock File Exist

Solution 1:

Delete that lock file. And uninstall.

Solution 2:

I had a similar issue tonight. I searched for the file in my file explorer, and found it. I deleted the lock file, and was successfully able to run NetBeans.