Hello, On 19.03.2015 09:35, Alexander Holupirek wrote: [...] > What is recommended and best practice for a package that requires Java7. > Shall I ignore/overwrite the warning? You can use my package mediathekview as a template. You may want to add "default-jdk" to Build-Depends and "default-jdk | java7-runtime" to the Depends field of your application. This is more flexible than just depending on openjdk-7. The lintian warning can be ignored because Java7 is the default implementation in Debian Jessie. For detecting the JVM and using Java7 at runtime you can use a wrapper script like this one. [1] Just add java-wrappers to your dependencies and you are all set. Regards, Markus [1] https://anonscm.debian.org/cgit/collab-maint/mediathekview.git/tree/debian/bin/mediathekview
Attachment:
signature.asc
Description: OpenPGP digital signature