Upgraded from 14.04 LTS to 16.04 LTS but my Eclipse is not getting launched from the launcher on the side vertical bar. Giving me this error: The Eclipse executable launcher was unable to locate its companion shared library. enter image description here

重新安装不能解决问题。

Was referring to this thread but it seems there is not some easy way to get the launcher(the correct version of launcher) to get this issue fixed.

Moreover if i follow this link also why the same launcher is able to invoke eclipse when we do this from command line Vs ICON?

我正在使用Oracle JDK8,并使用安装程序来安装Eclipse for Java EE Developers。

这就是我的eclipse安装目录的样子

root@ashu-700-430qe:/opt/eclipse/jee-mars/eclipse# ls -lrt
total 236
-rwxr-xr-x  1 root root 140566 Feb 12 16:55 icon.xpm
-rwxr-xr-x  1 root root  79058 Feb 12 16:55 eclipse
drwxr-xr-x  2 root root   4096 May 29 11:44 readme
drwxr-xr-x  2 root root   4096 May 29 11:44 dropins
-rw-r--r--  1 root root    798 May 29 11:44 eclipse.ini
drwxr-xr-x 11 root root   4096 May 29 12:37 configuration

这是启动器的eclipse.ini外观

-startup
../../../../root/.p2/pool/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
../../../../root/.p2/pool/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.300.v20150602-1417
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-install
/opt/eclipse/jee-mars/eclipse
-vm
/usr/lib/jvm/java-8-oracle/jre/bin
-vmargs
-Dosgi.requiredJavaVersion=1.7
-XX:MaxPermSize=256m
-Xms256m
-Xmx1024m
-Declipse.p2.max.threads=10
-Doomph.update.url=http://download.eclipse.org/oomph/updates/milestone/latest
-Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/

这就是eclipse.desktop的样子

[Desktop Entry]
Name=Eclipse
Type=Application
Exec=/opt/eclipse/jee-mars/eclipse/eclipse
Terminal=false
Icon=/opt/eclipse/jee-mars/eclipse/icon.xpm
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE;
Name[en]=Eclipse
X-Desktop-File-Install-Version=0.22

请帮忙。