Hi,

>   $ davmail
>
>   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:2633)
>   ....
>
> I don't have this file on my system. If this file is required for
> davmail to work, then the dependencies should have pulled it in. I see:
>
>   $ apt-file find /usr/lib/jvm/java-11-openjdk-amd64/lib/libawt_xawt.so
>
>   openjdk-11-jre: /usr/lib/jvm/java-11-openjdk-amd64/lib/libawt_xawt.so
>
> So I guess we need
>
>   Depends: openjdk-11-jre

The concept is:
- for people who want to run headless, pull minimal dependencies
- for people who want to run the graphical client, install more
dependencies (see Suggests: default-jre, libswt-cairo-gtk-4-jni,
libopenjfx-java)

I do not see how to do it better, maybe switch to Recommends: ?

Cheers,

Alex

Reply via email to