Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145653 - dev-java/java-config-1.3.3 has no sane --jdk-home and --jre-home output
Summary: dev-java/java-config-1.3.3 has no sane --jdk-home and --jre-home output
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-30 15:41 UTC by Vlastimil Babka (Caster) (RETIRED)
Modified: 2006-09-05 18:20 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 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-08-30 15:41:45 UTC
gehinom ~ # java-config-1 --jdk-home
/etc/java-config-2/current-system-vm
gehinom ~ # java-config-1 --jre-home

gehinom ~ # java-config-1 --javac
/opt/sun-jdk-1.4.2.12/bin/javac

Only the last one seems to work correctly.
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-09-05 07:06:52 UTC
More problems I think:

java-config-1 -g VAR returns just the var from current env. Shouldn't it return stuff from 20java, as that's what it does with other parameters?

Properly handling this could allow a fix of java-pkg.eclass, which currently determines what VM to use for gen-1 just from VMHANDLE in env. Which can be different from the one that's in 20java, or complete nonsense. If VMHANDLE was set by java-config-1 -g VMHANDLE, that would be fixed. But first java-config-1 would need to read it from 20java and not just return what's in the env :)
Comment 2 Josh Nichols (RETIRED) gentoo-dev 2006-09-05 18:20:01 UTC
This will be fixed with 1.3.5, which will be available as soon as it hits the mirrors.