I\'m currently trying to build a Java project using Maven for a game I\'m working on.
A recent push to our repository by another user has broken the build for me, b
This problem also showed up for me while using libgdx on Ubuntu 20.04 with openjdk-11.
After a longer struggle I tried another jdk vendor instead of openjdk. This solved my issue. For some reason adopt-opendjk-11 works, while openjdk-11 was not working.
Downgrade to OpenJDK 8
I had the same problem in Xubuntu 18.04 with Eclipse 2018-12 (4.10.0). It was working fine, but probably some update in the system (or to OpenJDK specifically) started this problem. In addition Gradle Tasks weren't showing up in the Gradle Window.
I solved the issue removing packages: default-jre, default-jdk, default-jre-headless, default-jdk-headless, all of them are "pointing at" openjdk-11.
Then I installed packages: openjdk-8-jre, openjdk-8-jdk, openjdk-8-jre-headless and openjdk-8-jdk-headless.
Changed eclipse.ini in the vm section to: -vm /usr/lib/jvm/java-8-openjdk-amd64/bin
And now everything is working fine, and Gradle tasks are showing again. To clarify, I'm also using LibGDX.