I want to bundle Java application into a .deb package. Inside it is a jar launched with a
java -jar $path/app.jar script. I need to specify in the package dependencies that it will require JRE >= 11. I've tried 2 options:
Depends: java11-runtime- here the package will be uninstallable because it depends on a virtual package.
Depends: default-jre | java11-runtime- now it will try to install
default-jrewhich won't guarantee that it will be at least JRE 11.