Comment 30 for bug 1754886

Revision history for this message
pintubigfoot (pintubigfoot) wrote :

@jasepow

Seeing your log, I noticed your java version was 11.0.3

You need to use java 8:

$ java -version
java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)

I suggest you to either uninstall your java 11 or use "sudo update-alternatives --config java" to switch your default java to version 8:

- https://computingforgeeks.com/how-to-set-default-java-version-on-ubuntu-debian/
- https://tecadmin.net/switch-between-java-versions-on-ubuntu/
- https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-on-ubuntu-18-04

Afterwards, don't forget to rerun the workaround steps:

$ 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 /
$ sudo apt install --reinstall libequinox-osgi-java
$ eclipse #(this should launch)