Find installation directory of Eclipse

Hi,

I use Eclipse both on Windows and more recently on Fedora. Never had an issue on Windows.
I don’t remember how I installed it on Fedora, there were several tries. Probably first through flatpack or smthg like that.
Then came an update, operated automatically.
After that, the whole PDT thing (Php Developer tools) was gone. Could not even create a new php project.

I finally found a way, it worked again. That was for months. Can’t remember what I did.

Now I have the exact same problem again.

My first problem is: I can’t even figure out where it’s located on the disk.
I have an Eclipse icon in the launcher tray at the bottom of my desktop, how can I know WHAT it actually launches?

  • which eclipse tells nothing usefull: /usr/bin/which: no eclipse in (/home/xyz/.local/bin:/home/xyz/bin:/usr/local/bin:/usr/bin:/home/xyz/.composer/vendor/bin)
  • top, then launching eclipse, shows : java, nothing more

There must be a place where I can see what Gnome actually launches when I click on the launcher, isn’t there? A config file for instance?

My plan is to just unsinstall whatever I have, then reinstall it from eclipse.org’s tar.gz download and pray there’s no more automatic update… But where is it? How can I uninstall it? How can I remove it from the desktop launcher?

Maybe worth mentioning: simply re-installing PDT from within Eclipse doesn’t work either. I get a first “calculating requirements and dependancies” step, then a “Cannot perform operation. Computing alternate solutions”, and finally a fail.

The icons are desktop shortcut files stored in /usr/share/applications/.

If you installed it via Flatpak, you should be able to see it with the flatpak list command. If it’s there, use flatpak uninstall to uninstall.

Thanks for flatpak list, I could identify the package org.eclipse.Java and uninstall it.

I’ll give manual tar.gz a try, “just copy”, they say :wink:
What’s the usual place in Fedora for user manually installed stuff ?
I’ve put it into ~/bin.

The file you download from eclipse.org is the installer. Just unpack anywhere and run it. By default, it will install eclipse into a directory within your home directory, which is fine and I would leave it as-is unless this is a multi-user install.