Depending on your Linux distribution, you need to add this line into your profile:
export JAVA_HOME=/opt/java/jdk
(if you installed java initially in /opt/java/jdk, your case might be different)
If you are using RedHat and want to setup java globally, add that line into /etc/profile file.
If you are using RedHat and you are the only person who wants to use it, edit $HOME/.bash_profile
Debian uses /etc/bash.bashrc for global and $HOME/.bash_profile
Walter
Paul Tremblay wrote:
Reply-To:
I would like to set install fop and need to know how to set up the
variable JAVA_HOME. Specifically, the directions state:
You have to set the enviroment variable JAVA_HOME. It must point to your local JDK root directory.
Can anyone tell me how to do this?
Thanks
Paul
--
"Do the best you can in every task, no matter | (408)294-4750 how unimportant it may seem at the time. No | [EMAIL PROTECTED] one learns more about a problem than the | http://www.wdacruz.com person at the bottom." -Sandra Day O'Connor | ----------------------------------------------|----------------------- ---------------------------------------------------------------------- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]