when adding a java-package to the system or user classpath multiple times the jar files is added multi times. I don't think this is a good idea. A hintful message that the package was already in the classpath would be better. Reproducible: Always Steps to Reproduce: 1. java-config -B foo .. . n. java-config -B foo Actual Results: classpath contains foo.jar n times. Expected Results: classpath contains foo.jar only one time and a helpful message is displayed when steps 2 to n are executed saying that that foo is already in the classpath. Highlighting installed packages when doing java-config -l would be nice as well.
I'm working fixing the -B option but patches are appreciated (for highlighting in -l maybe).
In moving to the new Java environment scheme, setting the system classpath will most likely be deprecated. This has been fixed for the -a and -b options (user), however, so I consider this matter closed. Reopen with violent objections at your leisure:)