I think that java-config should behave more similarly to gcc-config. This means for example that "java-config ecj-gcj-3.5" or "java-config 1" should set the system-vm. This also means that "java-config -l" behaves a bit confusing and I cannot make much sense from the output and reading the help text. I would assume that it lists all implementations of jdks/jres that are available on the system. Instead it does: "List all available packages on the system.". Here it lists "ecj-gcj-3.5" is that how gcj-jdk is internally called by Java? And why does -L list the same thing with a different name? Reproducible: Always
P.S: This is with dev-java/java-config-2.1.11-r1
java-config is far to big now to start changing command line options on ppl. It is used extensively within eclasses too which would just increase the pain. There have been plans to reimplement it and at the same time fix up the options, but that would be for java-config-3 and java-*-3.eclass
eselect java-vm provides a nicer interface any way