The CacioExtension fails to run under Linux with X11 libraries loaded. I've tried both under Ubuntu and Rocky Linux 9.5 running Xfce. In both cases, Cacio runs fine when started from a command-line with a DISPLAY environment variable set, but as soon as it's run from a session with no DISPLAY set then it fails with the following error:
java.lang.ExceptionInInitializerError: Exception java.lang.UnsatisfiedLinkError: 'void java.awt.Component.initIDs()' [in thread "main"]
at java.desktop/java.awt.Component.initIDs(Native Method)
at java.desktop/java.awt.Component.(Unknown Source)
at java.desktop/javax.swing.ImageIcon$2.run(Unknown Source)
at java.desktop/javax.swing.ImageIcon$2.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.desktop/javax.swing.ImageIcon.createNoPermsComponent(Unknown Source)
at java.desktop/javax.swing.ImageIcon$1.run(Unknown Source)
at java.desktop/javax.swing.ImageIcon$1.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.desktop/javax.swing.ImageIcon.(Unknown Source)
I've confirmed that both Toolkit / GraphicsEnviroment have been replaced with the Cacio versions. The error above seems to be deep within the native code of the JVM.
The CacioExtension fails to run under Linux with X11 libraries loaded. I've tried both under Ubuntu and Rocky Linux 9.5 running Xfce. In both cases, Cacio runs fine when started from a command-line with a DISPLAY environment variable set, but as soon as it's run from a session with no DISPLAY set then it fails with the following error:
java.lang.ExceptionInInitializerError: Exception java.lang.UnsatisfiedLinkError: 'void java.awt.Component.initIDs()' [in thread "main"]
at java.desktop/java.awt.Component.initIDs(Native Method)
at java.desktop/java.awt.Component.(Unknown Source)
at java.desktop/javax.swing.ImageIcon$2.run(Unknown Source)
at java.desktop/javax.swing.ImageIcon$2.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.desktop/javax.swing.ImageIcon.createNoPermsComponent(Unknown Source)
at java.desktop/javax.swing.ImageIcon$1.run(Unknown Source)
at java.desktop/javax.swing.ImageIcon$1.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.desktop/javax.swing.ImageIcon.(Unknown Source)
I've confirmed that both Toolkit / GraphicsEnviroment have been replaced with the Cacio versions. The error above seems to be deep within the native code of the JVM.