tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <j...@wendysmoak.com>
Subject Re: Tomcat will not run JSPs
Date Thu, 26 Aug 2004 23:47:24 GMT
From: "Nelson, Jerry W
> What's the syntax??  JAVA_HOME is nowhere to be found in System Vaiables.

You have to add it if you want it to be there.  Go back to your installation
instructions for the JDK, it should explain everything you need to set up.
Until you've got the JDK properly installed, Tomcat doesn't have a chance of
working right.  Are you able to compile and run 'HelloWorld' from the
command line?

To answer your question, (assuming you're on Windows,) it will be something
like...

U:\>echo %JAVA_HOME%
c:\j2sdk1.5.0

You can set it from the command line as well, just:

U:\>set JAVA_HOME=c:\whereever\the\jdk\lives

That will go away when you close the command window.  You could probably
also set it in the batch file that starts Tomcat, but other things that use
Java will be looking for JAVA_HOME, might as well set it once and forget it.

-- 
Wendy Smoak


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message