Hi Kristian,

Do you only get the error message, or is BaseX not started at all?

The error message indicates that you have no GUI installed. Maybe this helps:

https://github.com/java-decompiler/jd-gui/issues/87

Christian




Kristian Kankainen <kristian@keeleleek.ee> schrieb am So., 4. März 2018, 13:00:
Sorry for rushing.

I downloaded the zip version of both the Winter Edition and also the
latest. The error message is shown when I run basexgui. Other, but
similar messages are shown when I try the other commands.

My system has OpenJDK:

> $ java -version
> openjdk version "1.8.0_161"
> OpenJDK Runtime Environment (build 1.8.0_161-b14)
> OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode)
Best regards
Kristian K


04.03.2018 13:29 Kristian Kankainen kirjutas:
> I downloaded both the stable and latest release, they both give me the
> same error message:
>
>> java.awt.HeadlessException
>>     at
>> sun.awt.HeadlessToolkit.setDynamicLayout(HeadlessToolkit.java:294)
>>     at org.basex.BaseXGUI.init(BaseXGUI.java:113)
>>     at org.basex.BaseXGUI.<init>(BaseXGUI.java:67)
>>     at org.basex.BaseXGUI.main(BaseXGUI.java:39)
>> Exception in thread "main" java.lang.ExceptionInInitializerError
>>     at org.basex.gui.GUIMenuCmd.<init>(GUIMenuCmd.java:916)
>>     at org.basex.gui.GUIMenuCmd.<init>(GUIMenuCmd.java:911)
>>     at org.basex.gui.GUIMenuCmd$1.<init>(GUIMenuCmd.java:35)
>>     at org.basex.gui.GUIMenuCmd.<clinit>(GUIMenuCmd.java:35)
>>     at org.basex.gui.GUIConstants.<clinit>(GUIConstants.java:96)
>>     at org.basex.BaseXGUI.<init>(BaseXGUI.java:69)
>>     at org.basex.BaseXGUI.main(BaseXGUI.java:39)
>> Caused by: java.awt.HeadlessException
>>     at
>> sun.awt.HeadlessToolkit.getMenuShortcutKeyMask(HeadlessToolkit.java:236
> Do I have some missing Java stuff? I use the latest Fedora and I
> thought it comes well prepared with Java ... I just installed it a few
> days ago.
>
> Best regards
> Kristian K
>