When specifying -B XXX to java-config where XXX is an invalid package (ie. unknown), java-config clears out /etc/env.d/21java-classpath, so that a next try to use -B, will fail with "invalid classpath in /etc/env.d/21java-classpath" Reproducible: Always Steps to Reproduce: 1. java-config -B unknown 2. 3. Expected Results: Classpath should stay
The -B flag has been deprecated with the new java-config, so I don't think it's still an issue.
As mentioned, -B is deprecated. Marking WONTFIX.