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:[EMAIL PROTECTED] 
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:[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to