Icedtea-web 2.0 missing libawt_xawt.so - Ran out of ideas

Hi all, need help with icedtea-web… java seems to be working properly

[reckor-fedora@localhost ~]$ java --version
openjdk 11.0.9.1 2020-11-04
OpenJDK Runtime Environment 18.9 (build 11.0.9.1+11)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.9.1+11, mixed mode, sharing)

But when running icedtea-web 2.0 I get:

[reckor-fedora@localhost ~]$ javaws
selected jre: /usr/lib/jvm/jre-11-openjdk
WARNING: package javax.jnlp not in java.desktop
Sat Jan 16 17:03:00 MSK 2021 [INFO   ] net.sourceforge.jnlp.runtime.EnvironmentPrinter: OpenWebStartLauncher called with args: [].
Sat Jan 16 17:03:00 MSK 2021 [INFO   ] net.sourceforge.jnlp.runtime.EnvironmentPrinter: OS: Linux
Sat Jan 16 17:03:00 MSK 2021 [INFO   ] net.sourceforge.jnlp.runtime.EnvironmentPrinter: Java Runtime Red Hat, Inc.-11.0.9.1
Sat Jan 16 17:03:00 MSK 2021 [DEBUG  ] net.sourceforge.jnlp.runtime.JNLPRuntime: using DEFAULT extension point
Sat Jan 16 17:03:00 MSK 2021 [DEBUG  ] net.sourceforge.jnlp.runtime.Boot:
Exiting Boot.mainWithReturnCode() exceptionally
java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-11-openjdk-11.0.9.11-9.fc33.x86_64/lib/libawt_xawt.so

Btw, the library (libawt_xawt.so) is really not there … but have no idea how to manage that…

Reinstalled several times, remove all java, installed again, etc.

Let’s look which package provides this library.

sudo dnf provides /usr/lib/jvm/java-11-openjdk-11.0.9.11-9.fc33.x86_64/lib/libawt_xawt.so

Based on the result, let’s try

sudo dnf reinstall java-11-openjdk
1 Like

Hi Alessio, thanks for taking the time to review it.
Your suggestion worked pretty well, thank you!

But I’m getting another error now. I’m trying to run a JNLP to access my work PC using icedtea-web. Unfortunately, there is still an error.
“Certificates do not conform to algorithm constraints”.

In my PopOS I can access without any issue. The JDK is the same 11 version, but icedtea-web is 1.8 there while in Fedora it is 2.0.

Would you have any idea to help me with this issue as well?

Thanks again!

Edit: Solved by editing java.security using security.useSystemPropertiesFile=false

Hi @reckor

I’m most than happy you’re solved your problem, I suggest to you post another POST about that problem…

Regards.,

1 Like

You’re right, apologies. It was also solved!
Thanks!

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.