Cách Gỡ Bỏ Eclipse

      75
I want khổng lồ uninstall Eclipse version Mars 2, but it doesn"t appear in the "Programs & Features" area of the Windows Control Panel. The installer has installed start thực đơn shortcuts and other artifacts, so it"s not just a matter of deleting the installation folder.

Bạn đang xem: Cách gỡ bỏ eclipse


*

*

Highest score (default) Trending (recent votes count more) Date modified (newest first) Date created (oldest first)
There is no automated uninstaller.

You have lớn remove Eclipse manually by deleting some directories and files.

Note: I use Unix style paths in this answer but the locations should be the same on Windows or Unix systems, so ~ refers to lớn the user trang chủ directory even on Windows.

Why is there no uninstaller?

According khổng lồ this discussion about uninstalling Eclipse, the reasoning for not providing an uninstaller is that the Eclipse installer is supposed to lớn just automate a few tasks that in the past had to be done manually (like downloading & extracting Eclipse và adding shortcuts), so they also can be undone manually. On Windows there is no entry in "Programs and Features" because the installer does not register installations in the system registry.

How to lớn to locate Eclipse installations

The mặc định installation path is in `~/eclipse/.

The Eclipse installer also keeps track of installations. Launch the installer & then mở cửa the "Bundle Pool" dialog (in simple mode it"s in the thực đơn - in advanced mode it"s a small button next to the bundle pool drop down). You"ll see danh mục of "profiles". Double click on a profile lớn see the path of the installation.

How to quickly uninstall Eclipse

If you have installed Eclipse manually without the Eclipse installer, just delete the Eclipse directory & be done with it.

Xem thêm: Cách Tính Bảng Thống Kê Cốt Thép, Cách Tính Khối Lượng Thép Trong Bản Vẽ

If you have installed Eclipse with the Eclipse installer, then delete the Eclipse directory and any desktop và start menu shortcuts. Then launch the Eclipse installer and open the "Bundle Pool" dialog & click on "Cleanup Agent" khổng lồ remove unused bundles. This won"t affect other Eclipse installations if you have any.

In my opinion this is generally enough và I would stop here

How to completely uninstall Eclipse

If you really want lớn remove Eclipse without leaving any traces, you have khổng lồ manually delete

all desktop and start menu shortcutsall installation directories (e.g. ~/eclipse/photon/)the p2 bundle pool (which is often shared with other eclipse installations)

The installer has a "Bundle Pools" thực đơn entry which lists the locations of all bundle pools. If you have other Eclipse installations on your system you can use the "Cleanup Agent" to remove unused bundles. If you don"t have any other Eclipse installations you can delete the whole bundle pool directory instead (by default ~/p2/).

If you want khổng lồ completely remove the Eclipse installer too, delete the installer"s executable và the ~/.eclipse/ directory.

Depending on what kind of work you did with Eclipse, there can be more directories that you may want khổng lồ delete. If you used Maven, then ~/.m2/ contains the Maven cache và settings (shared with Maven CLI and other IDEs). If you develop Eclipse plugins, then there might be JUnit workspaces from chạy thử runs, next to you Eclipse workspace. Likewise other build tools và development environments used in Eclipse could have created similar directories.

How khổng lồ delete all projects

If you want khổng lồ delete your projects và workspace metadata, you have khổng lồ delete your workspace(s). The mặc định workspace location is ´~/workspace/´. You can also search for the .metadata directory to lớn get all Eclipse workspaces on your machine.

If you are working with Git projects, these are generally not saved in the workspace but in the ~/git/ directory.

Addendum: Windows Registry

Even though Eclipse isn"t "installed" like a regular Windows application, there are still a few entries that get written lớn the system registry. If you search the Registry for "eclipse" you"ll likely find some entries for URL handlers named eclipse+command, eclipse+mpc or eclipse+installer. They are used e.g. For letting you install Eclipse plugins from the browser.

On my system I see a few other entries which I believe are created by Windows itself và not by Eclipse (e.g. Entries in the danh sách of recently used executables). Whether you want khổng lồ delete those entries is up khổng lồ you. Personally I wouldn"t, but on the other hand it probably won"t break anything if you do. Just be aware that registry "cleaning" is a controversial topic.