Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

New to tomcat getting error JAVA_HOME not defined

 
jim gemlo
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using linux 9.0. I am trying to shutdown tomcat5.
Error says:
The JAVA_HOME environment variable is not defined.
This environment variable is needed to run this program.
I set the variable in the etc/profile to this
JAVA_HOME = /usr/local/java2
Then farther down I set the PATH varible like so
export <previous stuff> JAVA_HOME/bin
HELP
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
did you export JAVA_HOME ? (I think it's used in other scripts that are called by the first script)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic