Environment Vars?

Gene Heskett gene.heskett at verizon.net
Tue Mar 28 18:30:25 UTC 2006


On Monday 27 March 2006 13:46, Craig White wrote:
>On Mon, 2006-03-27 at 20:08 +0200, Ali Helmy wrote:
>> Hey mates,
>>
>> In an installation of one program (Apache Tomcat) it instructed me
>> to: Set an environment variable named JAVA_HOME to the pathname of
>> the directory into which you installed the JRE...
>>
>> So how does one set an environment variable? Assuming I got java
>> installed at /usr/java/
>
>----
>this ***may*** be useful to you
>
># cat /etc/profile.d/java.sh
>JREHOME="/usr/java/jre1.5.0_06/lib/i386"
>JAVA_HOME="/usr/java/jre1.5.0_06"
>JAVAWSHOME="/usr/java/jre1.5.0_06/javaws"
>LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$JREHOME:$JAVAWSHOME"
>PATH="$PATH:/usr/java/jre1.5.0_06/bin"
>export JAVA_HOME
>
>Adjust as needed
>
>Craig

Thanks Craig, although I expect this will enlarge the already lengthy 
list of stuff that needs massaging when a new java jre is installed.

-- 
Cheers, Gene
People having trouble with vz bouncing email to me should add the word
'online' between the 'verizon', and the dot which bypasses vz's
stupid bounce rules.  I do use spamassassin too. :-)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2006 by Maurice Eugene Heskett, all rights reserved.




More information about the fedora-list mailing list