Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JAVA_HOME settings - problem

438970Dec 27 2006 — edited Dec 28 2006
Hello,

I am a Fedora user.

I installed apache tomcat to this location in my computer: /usr/local/apache-tomcat-5.5.20

When I want to run the "./startup.sh " command, I receive this error:
**********************
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program
**********************

It is normal.. Then I set the JAVA_HOME as following:
**********************
export JAVA_HOME=/usr/java/jdk1.5.0_10
**********************

However, I still receivethe same error:
**********************
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program
**********************

I am new in Linux and I could not understand why I receive this error even if I set the JAVA_HOME. Any recommendation would help me a lot!

Thanks & Regards

hs
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 25 2007
Added on Dec 27 2006
2 comments
843 views