라이브러리를 로드할 수 없음:/usr/lib/jvm/java-11-openjdk-11.0.16.0.8-1.fc35.x86_64/lib/libawt_xawt.so
2538 단어 linux
┌─ 🍔 [~/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
Reference
이 문제에 관하여(라이브러리를 로드할 수 없음:/usr/lib/jvm/java-11-openjdk-11.0.16.0.8-1.fc35.x86_64/lib/libawt_xawt.so), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://dev.to/bukanspot/cant-load-library-usrlibjvmjava-11-openjdk-1101608-1fc35x8664liblibawtxawtso-4pco텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)