I try to run DeskDock Server on my fedora 35 and got this error
┌─ 🍔 [~/Downloads/DeskDockServer_1.3.0]
└─╼ java -jar DeskDockServer_1.3.0.jar
2022-09-03 04:49:40.442 Program: DeskDockServer 1.3.0
2022-09-03 04:49:40.443 System: Linux 5.19.4-100.fc35.x86_64, amd64
2022-09-03 04:49:40.443 JRE: 11.0.16+8
java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-11-openjdk-11.0.16.0.8-1.fc35.x86_64/lib/libawt_xawt.so
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2633)
at java.base/java.lang.Runtime.load0(Runtime.java:768)
at java.base/java.lang.System.load(System.java:1837)
at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2445)
at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2501)
at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2700)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2651)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:830)
at java.base/java.lang.System.loadLibrary(System.java:1873)
at java.desktop/java.awt.Toolkit$3.run(Toolkit.java:1399)
at java.desktop/java.awt.Toolkit$3.run(Toolkit.java:1397)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.desktop/java.awt.Toolkit.loadLibraries(Toolkit.java:1396)
at java.desktop/java.awt.Toolkit.<clinit>(Toolkit.java:1429)
at java.desktop/javax.swing.UIManager.getSystemLookAndFeelClassName(UIManager.java:661)
at com.floriandraschbacher.deskdockserver.Main.main(Unknown Source)
2022-09-03 04:49:40.532 n@4ac68d3e: Uncaught Exception in Thread main: java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-11-openjdk-11.0.16.0.8-1.fc35.x86_64/lib/libawt_xawt.so
Can't load library: /usr/lib/jvm/java-11-openjdk-11.0.16.0.8-1.fc35.x86_64/lib/libawt_xawt.so
so, I fix it with this code
dnf install java-11-openjdk
Top comments (0)