I’m using F43 and I want to use Geogebra 5 but when I start it, I get this error:
Exception in thread "main" java.awt.HeadlessException:
No X11 DISPLAY variable was set,
or no headful library support was found,
but this program performed an operation which requires it.
at java.desktop/java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:158)
at java.desktop/java.awt.Window.<init>(Window.java:518)
at java.desktop/java.awt.Frame.<init>(Frame.java:428)
at java.desktop/java.awt.Frame.<init>(Frame.java:393)
at org.geogebra.desktop.b.a(Unknown Source)
at org.geogebra.desktop.GeoGebra.a(Unknown Source)
at org.geogebra.desktop.GeoGebra3D.main(Unknown Source)
I used to revert to openjdk-17 to bypass this error (solution I found on the web) but it is not available anymore; how can I solve that? Thanks!
If I try to remove java-latest-openjdk-headless, it also wants to remove java-latest-openjdk. And when I reinstall java-latest-openjdk, it reinstalls java-latest-openjdk-headless.
It doesn’t seem that I have a package that needs the headless java, since trying to uninstall it doesn’t list anything else than java packages in the dependencies:
But you don’t need all that, because GeoGebra-Linux-Portable-5-4-911-3.tar.bz2 comes with its own java runtime (zulu).
Extract, set executable permissions where needed and viola