Hello --

After upgrading to Fedora 40, I find that I can not run the BaseX GUI. This
is against BaseX110-20240426.163243.zip or 10.7

17:28 bin % ./basexgui
/home/graydon/bin/basex/basex/.basex: writing new configuration file.
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:166)
at java.desktop/java.awt.Window.<init>(Window.java:553)
at java.desktop/java.awt.Frame.<init>(Frame.java:428)
at java.desktop/java.awt.Frame.<init>(Frame.java:393)
at java.desktop/javax.swing.JFrame.<init>(JFrame.java:180)
at org.basex.BaseXGUI.splash(BaseXGUI.java:96)
at org.basex.BaseXGUI.<init>(BaseXGUI.java:54)
at org.basex.BaseXGUI.main(BaseXGUI.java:37)


17:23 bin % java -version
openjdk version "21.0.2" 2024-01-16
OpenJDK Runtime Environment (Red_Hat-21.0.2.0.13-4) (build 21.0.2+13)
OpenJDK 64-Bit Server VM (Red_Hat-21.0.2.0.13-4) (build 21.0.2+13, mixed
mode, sharing)

Various attempts to set DISPLAY have not been helpful.

Trying to use OpenJDK 17 produced effectively the same error message at
greater length.

Anyone got any suggestions on how to fix this?

Thanks!
Graydon

Reply via email to