Problem launching BaseX on fresh Fedora 27

Sunday, 4 March 2018 · 4 messages · last reply 5 Mar 2018
KK
Kristian Kankainen4 Mar 2018 12:29 #
I downloaded both the stable and latest release, they both give me the same error message:
Quoted text · 16 lines
> 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
KK
Kristian Kankainen4 Mar 2018 12:59 #
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:
Quoted text · Kristian Kankainen · 4 lines
> $ 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:
Quoted text · Kristian Kankainen · 27 lines
> 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 >
CG
Christian Grün4 Mar 2018 18:00 #
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 at keeleleek.ee> schrieb am So., 4. März 2018, 13:00:
Quoted text · Kristian Kankainen · 46 lines
> 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 > > > >
KK
Kristian Kankainen5 Mar 2018 14:00 #
Great, this solved it. Thanks! Kristian 4. märts 2018 19:00 kirjutas kuupäeval Christian Grün <christian.gruen at gmail.com>:
Quoted text · Christian Grün · 108 lines
> 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 at 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 > > > > >

⚡Generated with XQuery