Reinstalling Eclipse and Eclipse C/C++ Development Tooling also did not change the error.
$ sudo apt-get install --reinstall eclipse eclipse-cdt g++ Reading package lists... Done Building dependency tree Reading state information... Done 0 to upgrade, 0 to newly install, 3 reinstalled, 0 to remove and 1 not to upgrade. Need to get 37.5 MB of archives. After this operation, 0 B of additional disk space will be used. Get:1 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 eclipse all 3.8.1-11 [16.1 kB] Get:2 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 eclipse-cdt all 8.6.0-2 [37.5 MB] Get:3 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 g++ amd64 4:7.3.0-3ubuntu2 [1,576 B] Fetched 37.5 MB in 6s (5,987 kB/s) (Reading database ... 344165 files and directories currently installed.) Preparing to unpack .../eclipse_3.8.1-11_all.deb ... Unpacking eclipse (3.8.1-11) over (3.8.1-11) ... Preparing to unpack .../eclipse-cdt_8.6.0-2_all.deb ... Unpacking eclipse-cdt (8.6.0-2) over (8.6.0-2) ... Preparing to unpack .../g++_4%3a7.3.0-3ubuntu2_amd64.deb ... Unpacking g++ (4:7.3.0-3ubuntu2) over (4:7.3.0-3ubuntu2) ... Processing triggers for man-db (2.8.3-2) ... Setting up g++ (4:7.3.0-3ubuntu2) ... Setting up eclipse (3.8.1-11) ... Setting up eclipse-cdt (8.6.0-2) ... I shall try removing Eclipse using apt and installing from the website instread. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to eclipse in Ubuntu. https://bugs.launchpad.net/bugs/1784358 Title: Eclipse not starting with org.eclipse.equinox.launcher.Main.main java.lang.ClassNotFoundException being issued after updgrade to 18.04 Status in eclipse package in Ubuntu: New Status in eclipse package in Debian: New Bug description: I upgraded from 16.04 to 18.04 on Friday. Following some reboots and updates this morning I am now unable to start the Eclipse IDE. This was working before the upgrade. I have the C++ developer support added to Eclipse. To the best of my memory (and ability to interrogate apt) it is all installed from the Ubuntu repositories. When I click the Eclipse launcher pinned to my side bat I get an error message from Eclipse that reads: An error has occurred. See the log file /home/thomas/.eclipse/org.eclipse.platform_3.8_155965261/configuration/1532947738216.log Viewing the log file I see: !SESSION Mon Jul 30 11:48:58 BST 2018 ------------------------------------------ !ENTRY org.eclipse.equinox.launcher 4 0 2018-07-30 11:48:58.229 !MESSAGE Exception launching the Eclipse Platform: !STACK java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:466) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:566) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:626) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) at org.eclipse.equinox.launcher.Main.run(Main.java:1438) at org.eclipse.equinox.launcher.Main.main(Main.java:1414) This is easily repeatable. Some internet searching suggests this problem is present upstream as there is a Debian bug that looks similar: https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=891956 ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: eclipse 3.8.1-11 ProcVersionSignature: Ubuntu 4.15.0-29.31-generic 4.15.18 Uname: Linux 4.15.0-29-generic x86_64 ApportVersion: 2.20.9-0ubuntu7.2 Architecture: amd64 Date: Mon Jul 30 11:43:38 2018 InstallationDate: Installed on 2017-11-16 (255 days ago) InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801) PackageArchitecture: all ProcEnviron: LANGUAGE=en_GB:en TERM=xterm-256color PATH=(custom, no user) LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: eclipse UpgradeStatus: Upgraded to bionic on 2018-07-27 (3 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/1784358/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

