All that time i was focused to search in Web for a solution (but without luck) and not dig into the eclipse.ini file assumed it correct.
My eclipse.ini after eclipse installation looked like that:
-startup
plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.401.v20161122-1740
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.8
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
I notice here missed the path to java(JDK) actually in use(don't forget i used a custom installation of java - in my home directory - not that provided from the Ubuntu system in /usr/bin/ as the error message correctly reported)
So the solution was simply to add 2 lines in the eclipse.ini(i.e. the custom path to JDK).
Beware it's important to write these lines before the -vmargs as shown below (or also delete -vmargs if not use it)
-vm
/home/harrykar/Java8/jdk1.8.0_172/bin
-vmargs
And that's it eclipse now works as intended
Best Regards
Harry G.T. Kar
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…