[TriLUG] Re: Global JAVA_HOME variable?
Vestal, Roy L.
rvestal at rti.org
Wed Mar 6 15:51:25 EST 2002
Does this apply to Java plugin as well? I need to get Sun's JDK 2 plugin (i
think that's what it's called) installed so that Konqueror can see it. I
have a website that I have to use to fill out my timesheet and it requires
IE 5.5 and Sun JRE 1.3.
Or am I barking up the wrong tree? I'm still learning Java stuff so be
kind...
-----Original Message-----
From: James Manning [mailto:trilug at sublogic.com]
Sent: Tuesday, March 05, 2002 9:46 AM
To: trilug at trilug.org
Subject: [TriLUG] Re: Global JAVA_HOME variable?
[Sam Penfield]
> The /usr/bin/java symlink works great most of the time but some
> applications still require it to be set. One that comes to mind is
> Sun's Forte for Java. Putting it in /etc/profile works great although I
> do test with different version so I set up some shell scripts to manage
> the versions.
Kevin didn't say to set a /usr/bin/java symlink, he said to set
a /usr/local/java symlink to point to the dir with the jdk/jre
installed, so you can change which dir /usr/local/java points to,
and JAVA_HOME is just set to /usr/local/java so you can update
which jvm/jre things are using w/o having to change the variable
and force ppl to reinit their shells.
a /usr/bin/java symlink doesn't do much for you, as you mentioned.
> Kevin - The Alchemist - Sonney wrote:
> >
> >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.
_______________________________________________
TriLUG mailing list
http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ:
http://www.trilug.org/~lovelace/faq/TriLUG-faq.html
More information about the TriLUG
mailing list