How to remove Eclipse with plugins (on Arch Linux)? - linux

I've installed Eclipse Java EE (eclipse-jee package from AUR) on Arch Linux. Also I've installed some Eclipse plugins via Eclipse Marketplace. After re-installing Eclipse I fond that all the plugins I've installed before are still displayed in Eclipse Installation Details. Why?
To remove eclipse I used the pacman -Rns command, which removes all unneeded dependencies and configuration files. I also removed ~/.eclipse and ~/.conf/eclipse folders but plugins still appear in Installation Details. And the trick is they are not really installed, but just displayed in Installation Details.
Okay, it's not a big deal to remove them manually but I'm just wondering where do Eclipse store plugins/information about plugins? Because theoretically it can only write to user's home folder.

Try the following files:
[eclipse_location]/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
[eclipse_location]/configuration/org.eclipse.update/platform.xml

Related

Why NetBeans can't find Mercurial path?

I have a Linux Mint VM, where I installed formerly NetBeans 12.x (up to 12.6) and now I've updated it to 13.0, all with flatpak, and even starting from a clean setup.
With all those setups, NetBeans can't find Mercurial, even if I really have it in /usr/bin/hg available and working (when used from the shell).
From menu Team / Mercurial / Initialize repository... I get the error "Mercurial could not be found", asking to check PATH.
The strange behavior is that if I even browse for Options and Mercurial Executable Path to /usr/bin I can't see hg in there, while it is in the filesystem!
Is NB browsing somewhere else when I open /usr/bin?
Is it accessing some virtual environment? I'm confused
I have a partial solution: the flatpak package is indeed at fail, as for some reason it's not seeing my /usr/bin but a virtualized (?) directory, where many files are missing - notably hg and hg-ssh
So I removed the package suggested by the Linux Mint Software Manager and installed the package got from the Apache NetBeans site, similarly to what #flied-onion did.
What's still missing is that NetBeans relies on the hgk application as an hg GUI interface for some functions (see Team / View). This is unknown to me, and I don't find it in any (recent) Debian flavor.

How to reinstall Eclipse on Linux?

I used the Software Manager in Linux Mint to install Eclipse Platform. It was working yesterday, however, now whenever I run it I get the following error message:
The Eclipse executable launcher was unable to locate its companion shared library.
I tried uninstalling it and then installing it again. Much to my confusion, this did not work. The error message still persists. It implies Eclipse requires a shared dependency that it cannot find. Is there anyway to find out what this is and install it? I've tried 'apt-get dist-upgrade' to update packages but this didn't resolve the issue at hand.
I have been using linux and Eclipse for years, but I would never suggest anyone install Eclipse from the platform repositories for any distribution.
Get your eclipse zips directly from Eclipse.org
Personally, I would just "Google it." (Or, in my case, "DuckDuckGo it.") Put the exact error-message text in double quotes to tell the search-engine that you are looking for the exact phrase.
DDG promptly referred me to this page: http://veeddie.blogspot.com/2010/06/eclipse-executable-launcher-was-unable.html

Error when installing Google Plugin for Eclipse into /opt on Linux

I'm following the steps to install the GPE 4.2(Juno) located here https://developers.google.com/eclipse/docs/install-eclipse-4.2
I receive the following error when trying to install the GPE.
Cannot complete the install because one or more required items could
not be found. Software being installed: Google Plugin for Eclipse
4.2 3.1.0.v201208080121-rel-r42 (com.google.gdt.eclipse.suite.e42.feature.feature.group
3.1.0.v201208080121-rel-r42) Missing requirement for filter properties ~= $0: Eclipse Platform
4.2.1.v20120814-120134-9JF7BHVGFyMveli1uX6aTH0q-eAap6PAgOP5mO (org.eclipse.platform.feature.group
4.2.1.v20120814-120134-9JF7BHVGFyMveli1uX6aTH0q-eAap6PAgOP5mO) requires 'org.eclipse.core.net.linux.x86 [1.1.200.v20120522-1148]' but
it could not be found Cannot satisfy dependency:
From: Google Plugin for Eclipse 4.2 3.1.0.v201208080121-rel-r42 (com.google.gdt.eclipse.suite.e42.feature.feature.group
3.1.0.v201208080121-rel-r42)
To: org.eclipse.platform.feature.group 3.8.0
I have eclipse installed for java EE (Juno) on a linux 64bit system (Linux Mint 13)
This only occurs when I try to use the instance of eclipse that I have installed under /opt. I installed another instance of eclipse under my home directory and did not experience this problem. I assume there is a path/permission issue that is causing the problem when trying to use the instance installed under /opt.
What should i do to resolve this problem? I'm trying to conform to the Filesystem Hierarchy Standard. I used the instructions posted here to install eclipse http://colinrrobinson.com/technology/install-eclipse-ubuntu/
You need to install your plugins to Eclipse with the proper permissions to access /opt. There are two options:
Start Eclipse with sudo whenever you want to install/update plugins.
Give your user/group write permissions to /opt/
I personally use #2 and don't have any problems with it.
NOTE: This isn't related to google-plugin-for-eclipse, it is just a generic permissions issue with Linux and your Eclipse install dir.

Eclipse 3.5+: Loading plug-ins from auto-created .eclipse directory inside user's home directory

I have downloaded the latest Eclipse (3.6) for my Linux machine and extracted tar.gz to the /opt/eclipse directory as root. I started Eclipse as a normal user and successfully installed some plug-ins through Eclipse. The plug-ins are visible under "Installed software" from Eclipse, but they doesn't seem to be working - no new perspectives that should be there, no features, nothing.
Then I looked inside my home folder and found the following directory:
.eclipse/org.eclipse.platform_3.5.0_1473617060
That directory structure looks similar to the one in the /opt/eclipse (where Eclipse is installed) and has 4 directories inside ("dropins", "configuration", "plugins", "features") and one file ("artifacts.xml"). The "plugins" folder really containts all the plug-ins I have installed.
I have already read the following topic:
Installing Eclipse (3.4+) plugins in a directory other than ECLIPSE_HOME/plugins
and tried to put .link file in "opt/eclipse/dropins" and/or "opt/eclipse/links" directory pointing to the configuration directory in my home directory, but that doesn't seem to be working.
So these are the steps to reproduce the problem, in short:
Run Eclipse as some user which has no write permissions to installation dir
Install plug-ins through Eclipse and restart it (as the same user)
Eclipse now shows that those plug-ins are installed. The plugins are indeed located somewhere in the home directory of the user who installed them (~/.eclipse/.../plugins).
Problem: plug-ins are somehow ignored.
I know that I can quick-fix the problem by copying the plugins manually to the installation directory (as a root) each time I install a plug-in as a non-root (or always install plug-ins as root), but I am interested in the way how can I configure Eclipse to read the user's own configuration file and plugins which have been automatically generated by Eclipse in the first place.
Any ideas how can I force Eclipse to actually use the plug-ins installed by Eclipse?
This sounds like a p2 bug. Can you open a bug report?

How to install Maven 2 plugin for Eclipse on 64-bit linux?

I have Fedora 11 (x86 64) installed with Eclipse. I need a Maven plugin, preferrably m2eclipse, but I cannot find out how to install it. I've tried going through yum, but to no avail (I can't even find any maven plugins).
On my other laptop, I've tried installing the plugin using yum on a 32 bit install of Fedora 11, and while the package shows as being installed, I still don't see it in Eclipse. I've even tried starting eclipse with the clean flag.
Could anyone provide me with help? I've got maven 2.0.4 installed. Thanks in advance!
I was able to install the core components of the m2eclipse plugin after I first installed the ganymede packages from their update site:
http://download.eclipse.org/releases/ganymede/
Apparently "Fedora Eclipse" is not a flavor of the ganymede build.
Use the following update site: http://m2eclipse.sonatype.org/update/
It's typically under Help -> Software Updates… and then you can add a new update site. Use the one above and you should have the option to install the plugin.
Goto Eclipse->Help->Install New Software...
Add the following update site in Eclipse
http://m2eclipse.sonatype.org/sites/m2e
and enable the repository for your release of eclipse under "Available Software Sites" as well (which is disabled in Fedora by default).
Afterwards the installation in Eclipse should work without any missing dependencies.
I was hitting the same problem; evlipse installs it but the plugin isn't visible in the list nor are any of the features it should offer (such as a maven import wizard).
java 6, ubuntu, eclipse downloaded from the official site.
I removed ~/.eclipse/org.eclipse.platform_3.5.0_1020258342
Started eclipse again
added the EMF update site
added the IAM site
installed eclipse IAM core, said no to resarting the workspace, quit eclipse
started eclipse
and its working.

Resources