卸载Netbeans和安装Eclipse [英] Uninstalling Netbeans and installing Eclipse

查看:101
本文介绍了卸载Netbeans和安装Eclipse的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将要从NetBeans切换到Eclipse进行Java开发,并想知道这样做之前我当前的NetBeans项目文件将会发生什么.卸载NetBeans会删除我的项目文件和文件夹吗?什么是正确的卸载方式,从而不会丢失重要文件?

I will be switching from NetBeans to Eclipse for Java development, and want to know what will happen to my current NetBeans project files before doing so. Will uninstalling NetBeans delete my project files and folders? What is the proper way to uninstall so no important files are lost?

推荐答案

卸载NetBeans会删除我的项目文件和文件夹吗?

Will uninstalling NetBeans delete my project files and folders?

不,绝对不是.除非您在NetBeans安装结构中不明智地创建了项目,否则在卸载/删除NetBeans之后它们仍将在那里.那是极不可能的,但我仅出于完整性而提及.

No, definitely not. They will still be there after you uninstall/delete NetBeans, unless you unwisely created projects within your NetBeans installation structure. That is highly unlikely, but I'll mention it just for completeness.

什么是正确的卸载方式,从而不会丢失重要文件?

What is the proper way to uninstall so no important files are lost?

这是一个有争议的问题,因为如果这就是重要"文件的意思,则不会丢失任何项目文件.

This is a moot point, since none of your project files will be lost, if that is what you mean by "important" files.

关于正确卸载NetBeans,此方法取决于最初安装NetBeans的方式.有两种可能性:

With respect to properly uninstalling NetBeans, the approach depends on how NetBeans was originally installed. There are two possibilities:

  1. 可能已使用安装程序向导安装了NetBeans. Windows上的NetBeans 8.2肯定是这种情况.在这种情况下,程序>程序和功能下的控制面板中将有一个NetBeans条目.在这种情况下,您只需单击卸载按钮即可卸载NetBeans. (我不知道Linux安装是否可能存在类似的过程.)

  1. NetBeans may have been installed using an installer wizard. That was certainly the case for NetBeans 8.2 on Windows. In that scenario there will be an entry for NetBeans in Control Panel under Programs > Programs and Features. In that scenario you should just click the Uninstall button to uninstall NetBeans. (I don't whether a similar process may exist for Linux installation.)

或者,可以通过解压缩下载的zip文件来安装NetBeans. Windows和Linux上的Apache NetBeans 9.0肯定是这种情况.在这种情况下,您只需删除解压缩的目录即可卸载NetBeans.

Alternatively, NetBeans may have been installed by unzipping a downloaded zip file. That was certainly the case for Apache NetBeans 9.0 on Windows and Linux. In that scenario you should simply delete the unzipped directory to uninstall NetBeans.

但是,还需要执行其他操作,这可能会节省数GB的磁盘空间浪费.卸载NetBeans之后,请确保删除两个由NetBeans代表您创建的目录.要标识这些目录,请在卸载NetBeans之前执行以下操作:

However, there is an additional action to take which can potentially save you gigabytes of wasted disk space. After uninstalling NetBeans, be sure to delete two directories that were created on your behalf by NetBeans. To identify those directories, do the following prior to uninstalling NetBeans:

  • 最后一次打开NetBeans.
  • 帮助">关于" 将打开一个与此类似的屏幕,具体取决于您要卸载的NetBeans版本:

  • Open NetBeans for the final time.
  • Help > About will open a screen similar to this, depending on which version of NetBeans you are uninstalling:

在屏幕底部附近指定了两个目录:用户目录缓存目录.这些目录包含仅与NetBeans相关的信息,例如配置详细信息,安装选项,以及(如果创建了Maven项目)本地存储库.

There are a couple of directories specified near the bottom of the screen: User directory and Cache directory. These directories contain information relevant only for NetBeans, such as configuration details, installation options, and (if you created Maven projects) a local repository.

卸载/删除NetBeans之后,还应该删除用户目录缓存目录.如果没有安装NetBeans,它们将不包含任何值.如有必要,可以通过参考之前拍摄的屏幕快照来获取这些目录的名称.

After you have uninstalled/deleted NetBeans, you should also delete the User directory and Cache directory. Without a NetBeans installation they contain nothing of any value. Get the names of those directories by referring to the screen shot you took earlier if necessary.

删除NetBeans之后,您可能要考虑删除的其他文件:

Other files you may want to consider removing after deleting NetBeans:

  • 您可能希望删除不再需要作为 Java平台添加到NetBeans的JDK安装.
  • 如果您将NetBeans用于其他语言,则可能需要卸载其他组件(例如,用于C ++的Cygwin,用于Groovy的Grails等).
  • 如果通过解压缩安装NetBeans,请删除原始下载的zip文件(如果该文件仍然存在).
  • You may want to remove JDK installations that you added to NetBeans as Java Platforms, that are no longer needed.
  • If you were using NetBeans for other languages you may want to uninstall additional components (such as Cygwin for C++, Grails for Groovy, etc.).
  • If you installed NetBeans by unzipping, delete the original downloaded zip file if it still exists.

这篇关于卸载Netbeans和安装Eclipse的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆