JAVA_HOME and TomCat

I just installed java, and i'm getting ready to install TomCat, but when I try to install TomCat it tells me that the JAVA_HOME variable isn't defined correctly. I tried using the command:

JAVA_HOME=usr/local/java

but it doesn't seem to do anything, I still get the same error. Any ideas? Could Java have installed somewhere else that I don't know about? Help please...

 

 

 

 

Top