The script java-propose-classpath attempts to ignore imports starting with
"java" because those are provided by the Java runtime library provided by the
JVM. The argument to grep -v to achieve this is incorrect because it will also
ignore imports starting with "javax". Those are, however, often provided by
separate JARs installed in /usr/share/java and thus such imports should be
reported by the script.
To fix this, change:
grep -v ^java
grep -v ^java[/\.]
-- System Information:
Debian Release: 6.0.3
APT prefers stable
APT policy: (990, 'stable'), (500, 'proposed-updates'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages java-propose-classpath depends on:
ii fastjar 2:0.98-3 Jar creation utility
ii gcj-jdk 4:4.4.5-1 gcj and classpath development tool
ii javahelper 0.37 Helper scripts for packaging Java
java-propose-classpath recommends no packages.
java-propose-classpath suggests no packages.
-- no debconf information
This is the maintainer address of Debian's Java team
debian-j...@lists.debian.org for discussions and questions.