close

[Solved] Exception java.lang.UnsatisfiedLinkError: Can’t load library: /usr/lib/jvm/java-11-openjdk-amd64/lib/libawt_xawt.so

Hello Guys, How are you all? Hope You all Are Fine. Today  I am Just trying to run allure open But I am facing the following error. Exception in thread “main” java.lang.UnsatisfiedLinkError: Can’t load library: /usr/lib/jvm/java-11-openjdk-amd64/lib/libawt_xawt.so in Java. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How Exception in thread “main” java.lang.UnsatisfiedLinkError: Can’t load library: /usr/lib/jvm/java-11-openjdk-amd64/lib/libawt_xawt.so Error Occurs ?

I am just trying to run allure open But I am facing the following error.

Starting web server...
2021-08-23 18:05:04.16:INFO::main: Logging initialized @349ms to org.eclipse.jetty.util.log.StdErrLog
Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-11-openjdk-amd64/lib/libawt_xawt.so
        at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2630)

How To Solve Exception in thread “main” java.lang.UnsatisfiedLinkError: Can’t load library: /usr/lib/jvm/java-11-openjdk-amd64/lib/libawt_xawt.so Error?

  1. How To Solve Exception in thread “main” java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-11-openjdk-amd64/lib/libawt_xawt.so Error?

    To Solve Exception in thread “main” java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-11-openjdk-amd64/lib/libawt_xawt.so Error If you are using ubuntu then run this code sudo apt install openjdk-11-jdk If you are Windows users then just you have to manually install OpenJDK 11

  2. Exception java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-11-openjdk-amd64/lib/libawt_xawt.so

    To Solve Exception in thread “main” java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-11-openjdk-amd64/lib/libawt_xawt.so Error If you are using ubuntu then run this code sudo apt install openjdk-11-jdk If you are Windows users then just you have to manually install OpenJDK 11

Solution 1: Just install openjdk-11-jdk

If you are using ubuntu then run this code

sudo apt install openjdk-11-jdk

If you are Windows users then just you have to manually install OpenJDK 11

If you are facing Browse operation is not supported on your platform. You can use the link below to open the report manually. Error after installing OpenJDK then just follow this solution.

Run this to find out which ones, then install them.

$ ldd /usr/lib/jvm/java-11-openjdk-amd64/lib/libawt_xawt.so

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?

Also, Read

Please Rate Our Solution to Motivate Us For Give Our Best

Leave a Comment