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 ?
- 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?
- Solution 1: Just install openjdk-11-jdk
- Summery
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?
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
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
Excellent advise, I couldn’t run tubula because of this error
Thankyou, your solution worked
Thanks, saved my day!
this is gold. Such a simple and effective solution solved my jadx error
I had to purge to old JDK first to get it work.
sudo apt purge openjdk-xx-jre-headless
wooooow!! big thanks!
been on this issue for atleast 15 hours till i finally implemented your lines
worked on the very first run. though had to degenerate from 17 to 11
My pleasure to help You. Thank You For your valuable comment.
Thank you so much!
You saved me a lot of time and efforts 🙂
My pleasure to help You Andrew Kudrenko
my respects and thanks sir, that was the problem
It’s my Pleasure to Help You. Thank You For Your Valuable words.