How to uninstall Netbeans 6.9 on Windows 7?

醉酒当歌 提交于 2020-01-13 09:17:10

问题


I try to uninstall the Netbeans IDE. for some reason it refuses to uninstall.

When I run the uninstaller from the control panel, I get a message saying:

the installer lock file exists at c:\users\user.nbi.nbilock"

When I remove the file I get a message saying:

the specified target component -nb- base/6.9.0.0.0 was not found in the registry. the installer can continue as if the targer component was not specified. click Yes to continue, No to exit the installer"

When I click Yes it finishes very quickly and nothing really gets uninstalled.

In general when I try to run NetBeans it says:

cannot locate Java installation in specified jdkhome
c:\program files (x86)\ java jdk1.6.0_20
do you want to try to use default version?"

Once again yes or no. Yes will open the IDE normally.


回答1:


I had the exact same thing happen to me. I put a co-workers image on my PC (same hardware) that contained a baseline suite of applications, including Netbeans. I actually happened to have Netbeans 6.9 and Windows 7 too, but that has nothing to do with it.

I deleted my co-workers profile, and that is why I got the error you speak of. Some needed files are contained in C:\Users\JohnB\. Here are the folders that Netbeans installs in your user profile folder:

I simply had my co-worker copy and send them to me, I put them in the profile they got deleted from, then the uninstall process worked perfectly.

Here's the post that pointed me in the right direction:

  • cannot uninstall Netbeans 6.7 Beta

Here's a related post that explains how to clean up after incomplete installations, but I did not have these rogue registry entries on my PC:

  • Cleaning Up After Incomplete Installations



回答2:


I uninstalled Netbeans 7.01 IDE OK but then zf tool kept throwing exception. I found a .zf file in my profile and sure enough it was looking for a netbeans file. I removed the statement and Voila! zf tool worked again.




回答3:


I have the same issue. I deleted the .nbi file. Then the uninstall was not working at all. Finally I manually delete the folders of netbeans. I know this is wrong... I think it got corrupted somehow and was not possible to uninstall.



来源:https://stackoverflow.com/questions/3954199/how-to-uninstall-netbeans-6-9-on-windows-7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!