Eclipse IDE (Integrated Development Environment) is used to develop the code with packages, libraries.
After installation completed, I am trying to open Eclipse IDE but I got below error because jars have different versions. So need to upgrade the versions. Here we provide the solution for two jars information if it is there we need to remove it then upgrade the other one.
Error:
The Eclipse executable launcher was unable to locate its companion shared library in Ubuntu:
Solution:
Step 1: Goto Eclipse Library path: /usr/lib/eclipse
Step 2: Here eclipse.ini showing short cut so here we can’t change permissions. Follow the below steps to get clarity on this
root@sreekanth-Inspiron-5537:/home/sreekanth# cd /usr/lib/ root@sreekanth-Inspiron-5537:/usr/lib# chmod 777 eclipse/ root@sreekanth-Inspiron-5537:/usr/lib# cd eclipse/ root@sreekanth-Inspiron-5537:/usr/lib/eclipse# ls -ltr total 84 -rw-r--r-- 1 root root 40335 May 7 2015 artifacts.xml lrwxrwxrwx 1 root root 16 May 7 2015 eclipse.ini -> /etc/eclipse.ini -rwxr-xr-x 1 root root 20136 May 7 2015 eclipse drwxr-xr-x 4 root root 4096 Feb 15 21:55 features drwxr-xr-x 3 root root 4096 Feb 15 21:55 configuration drwxr-xr-x 4 root root 4096 Feb 15 21:55 p2 drwxr-xr-x 2 root root 4096 Feb 15 21:55 plugins drwxr-xr-x 3 root root 4096 Feb 15 21:55 dropins drwxr-xr-x 2 root root 4096 Feb 15 21:55 buildscripts
Step 3: Then go to “/etc/eclipse.ini”, change permission to this file. Need to modification on this file. If you find two jar file information then remove it. If one jar file information is there to check existence: jar file information like below:
-startup plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar and plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.dist
Upgraded replaced these files with newer versions
Step 4: After completion of the above steps then restart the machine. Then working fine.
The Eclipse executable launcher was unable to locate its companion shared library in Windows 10
First, we need to check the Java version if it is 1.7 or above then it is fine. Otherwise, we need to upgrade the version
Step 1: Unzip the Eclipse zip file then change the permission for ECLIPSE.INI file
Step 2: If you find two jar file information then remove it. If one jar file information is there to check the existence.
Upgraded replaced these files with newer versions like the above steps(UBUNTU).