Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62483 - java-config -s requires a user to know about ~/.gentoo
Summary: java-config -s requires a user to know about ~/.gentoo
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-01 02:24 UTC by Travis Tilley (RETIRED)
Modified: 2004-12-23 02:28 UTC (History)
1 user (show)

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 Travis Tilley (RETIRED) gentoo-dev 2004-09-01 02:24:27 UTC
i was recently confused as hell by java-configs' behavior:

lv@ayanami lv $ java-config -s sun-jdk-1.5.0_beta2
Config options added to /home/lv/.gentoo directory
lv@ayanami lv $ . /etc/profile
lv@ayanami lv $ java-config -L
[blackdown-jdk-1.4.2_rc1] "Blackdown JDK 1.4.2_rc1" (/etc/env.d/java/20blackdown-jdk-1.4.2_rc1) *
[sun-jdk-1.5.0_beta2] "Sun JDK 1.5.0_beta2" (/etc/env.d/java/20sun-jdk-1.5.0_beta2)


apparently i need to know ~/.gentoo/java* exists and that it needs to be sourced. icky.
Comment 1 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-10-10 14:13:22 UTC
Added better info about this. Should probably consider making it part of the 
skel shell files, but that's a different problem.
Comment 2 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-12-23 02:28:16 UTC
Latest releases of java-config tell you to source these files in your shell profile.