[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Package requires Java 7, lintian shows warning



Hi,

I'm in the process of packaging a new version of basex [1].
A major change is that upstream requires Java7 to build and run.

As such, I changed debian/control to

Build-Depends: …, openjdk-7-jdk, …
Depends: …, openjdk-7-jre

Lintian now complains:

$ lintian -i -I --show-overrides --pedantic ../basex_8.0.2-1_all.deb 
W: basex: incompatible-java-bytecode-format Java7 version (Class format: 51)
N: 
N:    The package contains Java class files with a minimum requirement on the
N:    listed Java version. This Java version is not supported by the default
N:    JVM in Debian and is therefore likely to be a mistake.
N:    
N:    Refer to http://bugs.debian.org/673276 for details.
N:    
N:    Severity: normal, Certainty: possible
N:    
N:    Check: java, Type: binary
N: 

What is recommended and best practice for a package that requires Java7.
Shall I ignore/overwrite the warning?

Thanks a lot,
	Alex


[1] https://tracker.debian.org/pkg/basex

Reply to: