Showing posts with label IDE. Show all posts
Showing posts with label IDE. Show all posts

Wednesday, April 20, 2016

[NetBeans][Resolved] Cannot uninstall netbean 8.1 on Windows machine


Error Message:
It appears that the following instance of the NetBeans IDE is still running:
C:\Program Files|NetBeans 8.1_1
A lock file exists at C:\Users\xxx\AppData\Roaming\NetBeans\8.1\lock
Please close this NetBeans IDE prior to continuing with uninstallation
Netbean version 8.1
Windows 8



If you want uninstall NetBean but get this message in windos machine, firstly you should check is Netbean running in this machine by press "CTRL"+"ALT"+"DELETE" to call Task Manager and check if the name related to netBean existed there, if yes, right click and select "End Task" and do uninstallation again.

However for my case i can't find netbean is running in the Task Manager.


Solution

Step 1

You can visit the file installation directory which's shown in error message (it's C:\Users\xxx\AppData\Roaming\NetBeans\8.1\ in my case ). 

Step 2

Found out the file named "lock" and then delete it.

Step 3

Uninstall NetBean again.



Of course you can visit the log file shown at the error message to check out what's problem about, but what i found in log file is similar to the error message:



Tuesday, July 28, 2015

[Eclipse] Eclipse show line number in editor

Select "Window"-> "preferences" at main menu


Choose "General" -> "Editors" -> "Text Editors", and then click the box "Show line numbers".


Done: