jar-not-in-usr-share
The classpath listed in some of the files references files outside of /usr/share, while all installed JAR files must be within /usr/share/java for libraries or /usr/share/package for JARs for private use.
The rationale is that jar files are in almost all cases architecture independent and therefore should be in /usr/share. If the jar file is truly architecture dependent or it cannot be moved since symlinked jar files are not accepted by the application, then please override this tag.
For more information please consult:
- Building Java packages (Section 2.2) in the Debian policy for Java
- Java programs (Section 2.3) in the Debian policy for Java
The tag is present in Lintian version 2.114.163
.
That is the most recent version we know about.
We use semantic versions.
The patch number is a commit step indicator relative to the
2.114.0
release tag in our Git
repository.
You can find the detection logic for this version at commit d219a5a. For merge requests, please use the latest version in the Lintian check languages/java.
Visibility: warning