This is the workaround:
$ sudo wget http://archive.ubuntu.com/ubuntu/pool/universe/e/eclipse/libequinox-osgi-java_3.8.1-8_all.deb
$ sudo dpkg -x ./libequinox-osgi-java_3.8.1-8_all.deb /
( reference: https://stackoverflow.com/questions/52928735/running-eclipse-cdt-on-ubuntu-18-04-causes-java-lang-classnotfoundexception )
This is the workaround:
$ sudo wget http:// archive. ubuntu. com/ubuntu/ pool/universe/ e/eclipse/ libequinox- osgi-java_ 3.8.1-8_ all.deb
$ sudo dpkg -x ./libequinox- osgi-java_ 3.8.1-8_ all.deb /
( reference: https:/ /stackoverflow. com/questions/ 52928735/ running- eclipse- cdt-on- ubuntu- 18-04-causes- java-lang- classnotfoundex ception )