Skip to Main Content

New to Java

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!

setting up JAVA_HOME env variable

807598Apr 12 2006 — edited Apr 12 2006
Hi,

I am a linux user trying to kill my tomcat server. I try to run an .sh script and
I get the following error

"""
tomcat/bin> ./shutdown.sh
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE
"""
How do I know where to point my environment variables to??
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 10 2006
Added on Apr 12 2006
2 comments
256 views