Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 282058

Summary: on first java-vm set, JAVA_HOME does not get changed
Product: Gentoo Linux Reporter: Trenton D. Adams <trenton.d.adams>
Component: [OLD] JavaAssignee: Java team <java>
Status: CONFIRMED ---    
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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
2. 
3. 
4. 

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