ADDITIONAL SYSTEM INFORMATION :
Tested on JDK 21 and 25
A DESCRIPTION OF THE PROBLEM :
When using jpackage to build a deb for a static binary, e.g. "hello world" the resulting deb has a list of dependencies: Depends: libasound2t64, libbrotli1, libbsd0, libbz2-1.0, libc6, libfreetype6, libmd0, libpng16-16t64, libx11-6, libxau6, libxcb1, libxdmcp6, libxext6, libxi6, libxrender1, libxtst6, zlib1g
The addition of libasound2t64 is particularly problematic as it makes the deb non portable to other debian distributions or other versions of Ubuntu. Is it possible to not add all these extra dependencies?
Tested on JDK 21 and 25
A DESCRIPTION OF THE PROBLEM :
When using jpackage to build a deb for a static binary, e.g. "hello world" the resulting deb has a list of dependencies: Depends: libasound2t64, libbrotli1, libbsd0, libbz2-1.0, libc6, libfreetype6, libmd0, libpng16-16t64, libx11-6, libxau6, libxcb1, libxdmcp6, libxext6, libxi6, libxrender1, libxtst6, zlib1g
The addition of libasound2t64 is particularly problematic as it makes the deb non portable to other debian distributions or other versions of Ubuntu. Is it possible to not add all these extra dependencies?