I need to define an environment variable; specifically, JAVA_HOME. (I'm installing & configuring Tomcat). I'm sure this is a simple question, but I don't actually know how to do this.

The problem is that after having installed Tomcat, it won't start (using ..../bin/startup.sh) because it says: 'The JAVA_HOME environment variable is not defined. This environment variable is needed to run this program' And indeed $JAVA_HOME doesn't exist.

Background: I've mainly installed Tomcat on Windows systems before, and in practice JAVA_HOME is created for you when you install Java. However I'm told that Java is pre-installed in OS X, so there's no opportunty to define Java parameters during installation. I know Java is indeed installed as running the terminal command 'java -version' gets some sensible responses.

Tom Burke

--
Mac UK is sponsored by <http://lowendmac.com/> and...

123Inkjets.com <http://lowendmac.com/ad/123inkjets.html>

     Support Low End Mac <http://lowendmac.com/lists/support.html>

Mac UK list info:       <http://lowendmac.com/lists/mac-uk.shtml>
 --> AOL users, remove "mailto:";
Send list messages to:  <mailto:[email protected]>
To unsubscribe, email:  <mailto:[EMAIL PROTECTED]>
For digest mode, email: <mailto:[EMAIL PROTECTED]>
Subscription questions: <mailto:[EMAIL PROTECTED]>
Archive: <http://www.mail-archive.com/mac-uk%40mail.maclaunch.com/>

iPod Accessories for Less
at 1-800-iPOD.COM
Fast Delivery, Low Price, Good Deal
www.1800ipod.com

Reply via email to