tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fredrik Liden" <fli...@translate.com>
Subject RE: Tomcat will not run JSPs
Date Fri, 27 Aug 2004 00:41:17 GMT
Go to google:

Search for "setting java_home" click the first link in the result link.
Follow step-by-step instructions. 

Once you get passed the step of setting the paths you'll no doubt
encounter tons of problems and questions. Make sure to read the basic
tutorials and search the archive for the same questions. If you can't
find the answer after looking in those two places please feel free to
post your questions.

Let's keep this list somewhat relevant shall we.

Fredrik

-----Original Message-----
From: Nelson, Jerry W, Contractor 146CF, SCB
[mailto:jerry.nelson@cachan.ang.af.mil] 
Sent: Thursday, August 26, 2004 5:24 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat will not run JSPs


I completely romoved EVERTHING that has anything to do with Java and
reinstalled J2SDK1.4.2_05 and JRE1.4.2_05 and reinstalled
jakarta-tomcat-5.0.27.  When I reinstalled jakarta, all it asked for was
a directory for the JVM, nothing for home directory OR the location of
javac. I still get an error 500 stating that it can't find javac.  How
can I tell this STUPID program where it is???  I know javac existed in
the following
directory: C:\jsdk1.4.2_05\bin.  There has got to be a way to tell
Tomcat where to find the file!

//SIGNED//
 
Jerry Nelson

-----Original Message-----
From: Wendy Smoak [mailto:java@wendysmoak.com]
Sent: Thursday, August 26, 2004 4:47 PM
To: Tomcat Users List
Subject: Re: Tomcat will not run JSPs


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

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


---------------------------------------------------------------------
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