You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Lambert, Stephen : CO IR" <SL...@LHS.ORG> on 2000/11/10 23:09:02 UTC

RE: Setting JAVA_HOME path on Linux 7.0 --- SOLVED

As James suggests, the environment variables can be set in the .bashrc
Thanks James! 

-----Original Message-----
From: James Harman [mailto:jharman@requisite.com]
Sent: Friday, November 10, 2000 12:07 PM
To: Tomcat-Linux
Subject: Re: Setting JAVA_HOME path on Linux 7.0


Is there something in your .bashrc that sets the JAVA_HOME value?



On Fri, 10 Nov 2000, Lambert, Stephen : CO IR wrote:

> I have Tomcat 3.1 running standalone on a RedHat 6.2 server(yeah).
> 
> However, on a Redhat 7.0 server, I having difficulty setting the path for
> JAVA_HOME after installing JDK1.3
> I can't cd to $JAVA_HOME.
> 
> The .bash_profile is as follows:
> # .bash_profile
> 
> # Get the aliases and functions
> if [ -f ~/.bashrc ]; then
> 	. ~/.bashrc
> fi
> 
> # User specific environment and startup programs
> 
> PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH:$HOME/bin:/usr/local/jdk1.3/bin
> BASH_ENV=$HOME/.bashrc
> USERNAME="root"
> 
> export USERNAME BASH_ENV PATH
> 
> JAVA_HOME=/usr/local/jdk1.3
> export JAVA_HOME
> 
> -----------
> 
> Also, when I shutdown the server, it requires /sbin/./shutdown -h now
> 
> The only difference I can tell between the two Linux version is the
ENV(6.2)
> vs BASH_ENV(7.0)
> 
> Can someone help?
> Thanks.
> 
> 
> 
> 

James Harman
Requisite Technology
jharman@requisite.com
----------------------
For Technical Support,
email: support@requisite.com
phone: 303-474-2288