Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 347609 - java-config should behave more similarly to gcc-config
Summary: java-config should behave more similarly to gcc-config
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-02 22:38 UTC by Dennis Schridde
Modified: 2010-12-17 15:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2010-12-02 22:38:56 UTC
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
Comment 1 Dennis Schridde 2010-12-02 22:41:57 UTC
P.S: This is with dev-java/java-config-2.1.11-r1
Comment 2 Alistair Bush (RETIRED) gentoo-dev 2010-12-14 06:50:57 UTC
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
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2010-12-17 15:23:52 UTC
eselect java-vm provides a nicer interface any way