라이브러리를 로드할 수 없음:/usr/lib/jvm/java-11-openjdk-11.0.16.0.8-1.fc35.x86_64/lib/libawt_xawt.so

2538 단어 linux
Fedora 35에서 DeskDock Server를 실행하려고 하는데 이 오류가 발생했습니다.



┌─ 🍔 [~/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


그래서 이 코드로 수정합니다.

dnf install java-11-openjdk



원천



java-11-openjdk-11.0.12.0.7-4.fc35.x86_64.rpm

좋은 웹페이지 즐겨찾기