Solution for CLASSPATH revisited
After suggestions from Ola I extended the classloaded and it now works with
package dependencies.
How it works:
Every package has a file in /etc/debian-classloader/ with the following format:
classpath = /usr/share/java/xxxxx.jar ...
depends = package1 package2 ....
A class is started with: deb-java <package> <classname>
The classpath is the minimum needed, which avoids class and resource conflicts
between unrelated packages.
Limitations:
no recommends, suggests etc only depends.
Because of that it only emmits a warning if a package is not found.
Package (with examples) and sources at:
http://anarxia.dyndns.org:2180/debian/pool/
Nicos
Reply to: