Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282058 - on first java-vm set, JAVA_HOME does not get changed
Summary: on first java-vm set, JAVA_HOME does not get changed
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Java team
Depends on:
Reported: 2009-08-20 01:27 UTC by Trenton D. Adams
Modified: 2009-08-20 01:28 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Trenton D. Adams 2009-08-20 01:27:19 UTC
In order for it to work, you must logout of KDE, and back in.  Not sure if this applies to other window managers, or what-not.

Reproducible: Always

Steps to Reproduce:
1. eselect java-vm set sun-jdk-1.5 # for the first time

Actual Results:  
echo $JAVA_HOME is set to /etc/java-config-2/current-system-vm/

source /etc/profile # changes it
su - trenta # changes it

logging out and back in changes it.

Can this even be classified as a bug?  If there is a way around this happening, I would say it should be.
Comment 1 Trenton D. Adams 2009-08-20 01:28:44 UTC
oops, sorry, that's 
eselect java-vm set user sun-jdk-1.5