On Tue, 2002-03-05 at 08:27, Janyne Kizer wrote: > I was wondering if there is a good way to set a system wide variable for > JAVA_HOME? I understand setting it in each person's .bash_profile but I > would prefer to set it once for the system if possible so that if/when > we change to a newer JRE we only have to change the path in one place.
1- You can set system variables in /etc/profile 2 - I usually create a symlink from /usr/local/java to the proper JAVA_HOME and set the system JAVA_HOME=/usr/local/java - that way, when I upgrade the JDK, I just change the symlink, and it's done. -- -------------------------------------------- -- Kevin "The Alchemist" Sonney -- -- ICQ: 4855069 AIM: ksonney -- -------------------------------------------- 320C 0336 3BC4 13EC 4AEC 6AF2 525F CED7 7BB6 12C9
signature.asc
Description: This is a digitally signed message part
