> > So, there would be a global CLASSPATH that is shared across all the > > JVMs available in Debian, and that is implicitly used by the > > ImageJ package? Anyone could confirm this? > > As far as I know any JAR that's found in /usr/share/java will be > included in CLASSPATH. (Please correct me if I'm wrong).
After some inspection, the launch script for imagej (/usr/bin/imagej) overrides the default classpath at line 225 [1]. As a consequence, having the JAR package of json-simple in "/usr/share/java" is unfortunately insufficient. I finally managed to "dynamically link" against the libjson-simple-java package by creating a symbolic link from "/usr/share/java/json-simple.jar" to "/usr/share/imagej/plugins" using dh_link. I think this is a better solution than patching the /usr/bin/imagej script. As discussed previously, I have also removed the source code of json-simple by introducing "Files-Excluded" in d/copyright. Both lintian and pbuilder are OK with the new version of the package [2]. Andreas, please would you kindly give another look at the package? Thanks, Sébastien- [1] http://anonscm.debian.org/viewvc/debian-med/trunk/packages/imagej/trunk/debian/imagej.sh?revision=16435&view=markup [2] http://anonscm.debian.org/viewvc/debian-med?view=revision&revision=18540 -- To UNSUBSCRIBE, email to debian-med-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/1272276775.7185447.1418659096078.javamail.r...@chu.ulg.ac.be