Uninstall Eclipse under OSX? - eclipse

I'm running Eclipse SDK 3.4.0 on Mac OS X 10.5.6.
Every time I try to install something new through "software updates", the message "The software items you selected may not be valid with your current installation" shows up.
So I'm going to uninstall it and re-install Eclipse.
Should I just erase the Eclipse folder or is there a way to uninstall it?

Actually Eclipse does create some other files not within it's directory which survive deleting it's directory.
In Snow Leopard, look in your user's account under:
~/Library/Caches/org.eclipse.eclipse
~/Library/Preferences/org.eclipse.eclipse.plist
Not sure if you need to turn on viewing of hidden files to see those.

Under Lion I deleted the following files and folders:
eclipse in /Applications (obviously)
.eclipse in ~
.eclipse_keyring in ~
org.eclipse.eclipse in ~/Library/Caches
org.eclipse.eclipse.savedState in ~/Library/Saved Application State/
Some of them are hidden so you should delete them via Terminal.

Here is my list of things to delete for OSX Mountain Lion
~/.eclipse (folder);
~/Library/Saved Application/org.eclipse.eclipse.savedState;
~/Library/Preferences/org.eclipse.eclipse.plist;
~/Library/Caches/org.eclipse.eclipse;
... and of course the eclipse install folder

No need to uninstall anything, you can just delete the eclipse/ folder, but you should also use a fresh workspace or delete the workspace/.metadata folder.

In my case with High Sierra, apart from the eclipse folder, I deleted also:
~/.eclipse
~/.p2/pool/plugins/org.eclipse.*
~/.p2/pool/.eclipseextension/
~/.p2/org.eclipse.equinox.p2.repository/
~/.p2/org.eclipse.equinox.p2.engine/
~/.p2/org.eclipse.equinox.p2.core/

From terminal, find all eclipse directories with
sudo find / -iname "Eclipse"
Delete those directories with rm command.

Deleting the eclipse folder is equivalent to uninstalling it. In fact, if you don't want to tamper with the existing installation you can create another instance of eclipse and run from the new location.

Eclipse has no impact on Mac OS beyond it directory, so there is no problem uninstalling.
I think that What you are facing is the result of Eclipse switching the plugin distribution system recently. There are now two redundant and not very compatible means of installing plugins. It's a complete mess. You may be better off (if possible) installing a more recent version of Eclipse (maybe even the 3.5 milestones) as they seem to be more stable in that regard.

I know this thread is too old but recently I was wondering how to delete eclipse app on my MacBook Pro running macOS High Sierra.
Bellow are the steps which I followed to delete it from my system. Added screenshots for more clear understanding.
Open the eclipse app and it will show an app icon in dock. If it is not already present in dock then please try to run the app from Spotlight Search by pressing ⌘ + space.
Now right click on that eclipse logo from dock and click Show in Finder under Options.
It will open the location of the eclipse app in an external finder window.
You can just delete the entire root directory (i.e. - eclipse) by pressing ⌘ + delete.
Don't forget to delete the app from Trash as well if you are removing it from system completely.
Thanks. Hope this helped.

BTW. AppZapper is a great OSX tool for uninstalling apps and their preferences.
It sometimes comes a part of MacHeist

For BigSur, I did follow considering all the above.
Remove from Applications folder
rm -rf ~/.eclipse/
rm -rf ~/.p2/pool/
rm -rf ~/.p2/org.eclipse.equinox.p2.repository/
rm -rf ~/.p2/org.eclipse.equinox.p2.engine/
rm -rf ~/.p2/org.eclipse.equinox.p2.core/
rm -rf ~/Library/Caches/org.eclipse.platform.ide/
rm ~/Library/Preferences/org.eclipse.oomph.setup.installer.product.with-jre.restricted.plist
rm ~/Library/Preferences/org.eclipse.platform.ide.plist
rm -rf ~/Library/Saved\ Application\ State/org.eclipse.oomph.setup.installer.product.with-jre.restricted.savedState/
rm -rf ~/Library/Saved\ Application\ State/org.eclipse.platform.ide.savedState/

I just had a similar problem, with the GWT-PlugIn not showing up in the interface.
Deleting the eclipse folder did not solve it, GWT was still there!
Deleting workspace didn't work!
But deleting the .eclipse folder in the home directory did!
I'm working under WIndows 7 here, but it should be the same with OSX. But you may have to make the folder visible first. Under linux based system, folders starting with a dot are invisible by default.
This folder was probably the reason I had problems in the first place. If I remember right, I switched from basic Eclipse to EE, but didn't delete this folder.
In my opinion, an uninstall skript would do Eclipse quite good.

Just delete the eclipse folder wherever it is

Related

Accept Incoming Change not appearing in VS Code (VS Code Version 1.61.2)

I have a problem, where I don't see the toolbar for merge conflicts in Visual Studio Code even after enabling the editor.codeLens.
Any idea what else it can be?
I tried to restart VS Code, disabling/enabling editor.codeLens.
I even installed/uninstalled Gitlens - Git supercharged.
Thank you in advance.
Reference for my inputs are from:
Accept Incoming Change not appearing in VS Code
In case someone still can't solve this issue. You can turn off the Git: Merge Editor from Setting menu.
VSCode merge conflict options not displaying
I uninstalled the VSCode and reinstalled it but doens't work.
Then I completely uninstalled the VSCode along with its data, caches, temporary files And Reinstalled it and Worked like a charm.
Before that I tried enabling CodeLens and Adding VSCode as default merge tool, difftool and whatever is available on the internet, nothing worked.
Basically what I deduce is, there is some extension that have malfunctioned your VSCode git merge tool or its settings. You can try uninstalling all extensions first before completly uninstall the VSCode
Uninstall Completely
For Mac run following command in terminalsee this answer
rm -fr ~/Library/Preferences/com.microsoft.VSCode.helper.plist
rm -fr ~/Library/Preferences/com.microsoft.VSCode.plist
rm -fr ~/Library/Caches/com.microsoft.VSCode
rm -fr ~/Library/Caches/com.microsoft.VSCode.ShipIt/
rm -fr ~/Library/Application\ Support/Code/
rm -fr ~/Library/Saved\ Application\ State/com.microsoft.VSCode.savedState/
rm -fr ~/.vscode/
For Windows see this answer
Go to Path: C:\Program Files\Microsoft VS Code
Double Click uninstall.exe
This will uninstall VS Code from Your Windows OS and
After uninstallation delete code folder also.
Open Run (Win + R) and Enter %appdata% Press Enter
Delete the folder code
Delete this folder as well %USERPROFILE%\.vscode according to this answer

Code-OSS doesn't open folder or files from terminal command 'code-oss .'

A few days ago I installed Kali Linux. I'm trying to use Code-OSS instead of VSCode, since newest version of Kali doesn't have the libraries needed to install the normal one.
If I try to open a folder in Code-OSS from terminal using code-oss . or code ., it just opens Code on a new 'untitled-1' document, or opens the folder I was before closing Code-OSS. It doesn't open the folder I was in the terminal.
In these cases I need to open the folder I want through File > Open folder > search for folder and then open it.
The same just occurred with git commit or git commit --amend; it opens a new document, not the one I want to open.
I spent sometime searching for a solution on documentation, stackoverflow, google but could not find anything.
I cannot find any way to resolve this problem on Code-oss. Apparently it happened just with me.
Surprisingly for me, I was able to install VSCode following this tutorial, and it apparently managed to ignore the lack of libraries of Kali Linux that I mentioned above.
I hope this solution prevent any person in the future to get stuck on this.
I had the same issue when I first installed Kali-linux on my VM. Pretty anoying.
Just intall vscode by running :
sudo apt update
sudo apt install code
It will unistall code-oss and install VsCode, and it works now.

Eclipse Update Failing with Message "Insufficient access privileges to apply this update"

I'm running Eclipse under a Windows 7, 64-bit installation on which I have administrator privileges.
Since I first installed Eclipse many months ago, I've been able to keep it up to date with the Help > Check for Updates function—but starting a couple of weeks ago, it gave the message
Insufficient access privileges to apply this update.
Even when I ran Eclipse as an administrator, I continued to get this message. How can I fix it?
For anyone using Linux: I had this problem in Ubuntu because I had installed Eclipse in /opt, which was owned by root.
To get the updates, simply run Eclipse as root and then select the Help -> Check for Updates again. In general running applications as root is not a good idea, but if it's just to do an update... well that's what the root account is for :)
cd /opt/eclipse
sudo ./eclipse
Another (simpler?) approach which worked for me is to simply give the group "Users" write permission on C:\Program Files (x86)\eclipse.
Now, this is a security consideration, but you're NOT granting access to the whole of C:\Program Files (x86), just the eclipse installation.
I found a workaround for this stupid bug in Eclipse. Selecting updates one-by-one is disabled, but if you click Select all and then deselect the ones you do not need, you can proceed.
In Windows another option is to set the "Run as administrator" property on the Eclipse shortcut that you're using to start Eclipse. Right click on the shortcut and choose "Properties" from the dropdown menu. Click on the "Shortcut" tab in the Properties dialog and then click on the "Advanced..." button. In the Advanced Properties dialog set the "Run as administrator" option.
Hit same problem on Macos sierra 10.12.3 after clean install of Eclipse JEE Neon R. A clue was that my mac showed a dialog when I launched the app that asked:
“Eclipse.app” is an application downloaded from the Internet. Are you sure you want to open it?
When the updater dialog box showed "Insufficient access privileges to apply this update" I checked the Eclipse.app directory (I had downloaded & unpacked the .tar.gz file, if that matters) and saw this:
drwxrwxr-x# 3 chris staff 102 Jun 13 2016 Eclipse.app
I examined the extended attribute and saw this:
$ xattr Eclipse.app
com.apple.quarantine
That quarantine attribute seems to block the Eclipse updater! I removed that extended attribute like this:
xattr -d -r Eclipse.app
After that Eclipse updated itself very happily. HTH
For Linux Distros, most personal apps for all users are installed in the /opt/ folder. This folder is owned by root. My solution which has been tested to work is simply to open the opt folder in terminal call 'ls' to make sure you see the 'eclipse' folder in your current directory. It may be inside another folder.
Then simply use this command replacing 'user' with your username.
sudo chown -R user:user eclipse/
and that's it. Of course only you will be able to run updates on eclipse but I imagine you are the primary user of the computer.
Solving the problem was a multi-step process for me:
In a thread on another forum I found the advice that Eclipse should not be installed in C:\Program Files (x86). I had indeed installed (unzipped) it into that folder, so I moved it as advised to C:\Users\....
When I loaded Eclipse in its new location, I got a different message when I attempted to scan for updates: "There are no update sites to search".
I temporarily re-established my installation in C:\Program Files (x86), loaded it, and used Window > Preferences > Install/Update > Available Software Sites > [select all] > Export... to create an .xml file with my software sites.
Back in the C:\Users\... installation, I used the the same menu command (except Import instead of Export) to pull in the contents of that .xml file.
Now Help > Check for Updates is again functioning as it used to.
I fixed this problem (windows) by re-opening eclipse by right-clicking the eclipse.exe and selecting "Run as administrator".
Not sure why this step was needed all of the sudden but it worked. After my upgrade (I upgraded from eclipse sdk 4.3 -> 4.4) it still lets me make updates without running as administrator.
From Powershell, I set permissions on the folder like so:
& icacls "C:\ProgramData\chocolatey\lib\eclipse-java-neon\eclipse" "/grant" "domain\user:(OI)(CI)F" "/T"
Note: I had a different install location, as I used chocolatey to install eclipse

Filemerge application not working from svnX after installing xCode4.3?

I just installed xcode 4.3, since they moved filemerge application inside xCode package. filemerge is not working through svnX app(I have set default application as filemerge in svnX) to find the difference. How to fix this one(Xcode4.3 + svnX + filemerge)?
It appears that the system does not know about the new path to the Developer directory. I executed the following command in Terminal and restarted svnX. This did the trick.
sudo /usr/bin/xcode-select -switch /Applications/Xcode.app/Contents/Developer/
After installing the Xcode 4.3 all the utilities apps are moved in the Xcode.app folder in the applications. just do a "Show Package Contents" and navigate to :
/Applications/Xcode.app/Contents/Applications and you'll find it there, u can drag it to your dock back again

eclipse galileo not responding ubuntu 64-bit

I'm having a problem with eclipse galileo on ubuntu 64-bit system. when ever i open it the splash scree turns gray but keeps loading and then when eclipse opens it shows the secure storage password request and hangs. I dont know what could be wrong, it used to work fine before, if you have or had the same problem please tell me what to do
I have had this happen on Galileo (3.5) and Helios (3.6).
If you delete .eclipse you will lose all software installed through the Help | Install New Software menu option.
It is enough to delete the file ~/.eclipse/org.eclipse.equinox.security/secure_storage
Try clean $HOME$/.eclipse directory.
Its better to just rename at first.
See what happens
This happens to me whenever I shutdown eclipse with the history tab open.
While not the best solution, to solve it I start eclipse with sudo. I let it finish loading, then select a different tab than history. I Shutdown eclipse, then I recursively change the owner of the files in .metadata back to my main user.
In case you need the command: (in my case I run this from /home/wally/workspace)
sudo chown -R wally:wally .metadata
As far as I can tell, there's some race condition going on.
(also, it's likely that you won't use exactly "wally:wally" but "your username:your group)
Try this:
export GDK_NATIVE_WINDOWS=true
then run eclipse from command line from the same terminal window.
I would suggest removing openjdk from synaptic and install sun java. Once you do that , use "sudo update-java-alternatives --set java-6-sun" to use sun-java as the default JRE.
Eclipse used to work really slow for me, and this method worked. Maybe it helps you too.