Missing dependency for openjdk-11-jdk

Bug #1996191 reported by emptythevoid
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
davmail (Ubuntu)
New
Undecided
Unassigned

Bug Description

After a fresh install on Ubuntu 22.10, Davmail will fail to launch. It gives the error: can't load library /usr/lib/jvm/java-11-openjdk-amd64/lib/libawt_xawt.so

Installing the package openjdk-11-jdk corrects this issue. I believe that this package needs to be made a dependency?

Revision history for this message
emptythevoid (emptythevoid) wrote :

I meant to add, this issue is not present on 22.04. Only 22.10.

Revision history for this message
emptythevoid (emptythevoid) wrote :

Correction - I think the correct package is openjdk-11-jre (not jdk). I was comparing the apt log between davmail's .deb on sourceforge and the one from the Ubuntu repos and this was a standout difference. Installing the jre package allowed davmail to launch properly.

Not sure if this is the root cause, but the package default-java does not install the libawt_xawt.so file. (It has libawt.so and lib_headless.so only). installing the jre package adds the libawt_xawt.so to the default-java directory (which links it to java-11-openjdk-amd64)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.