Ok, well here's a strange thing (to me at least)...

I uninstalled Tomcat, and removed CATALINA_HOME & JAVA_HOME environment
variables.  I also removed anything I added to the path, such as
%JAVA_HOME%\bin.

I then reinstalled Tomcat using the Executable.  After the installation the
service is started.  Without setting any environment variables or changes to
path, for the heck of it I tried http://localhost:8080 and wouldn't you know
it, http://localhost:8080/index.jsp comes up fine.  Also, the JSP and
servlet examples all work.

Does anyone have any idea why this would work?  And since its working I
don't want to mess with it - what are the implications of leaving the setup
without CATALINA_HOME & JAVA_HOME set and without adding the bin directories
to the PATH?

Thanks :)

On to the mod_jk setup again...

Denise Mangano
Help Desk Analyst
Complus Data Innovations, Inc.
 


-----Original Message-----
From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 04, 2003 10:12 PM
To: Tomcat Users List
Subject: Re: Tomcat on WinXP


Denise Mangano wrote:

>I have my JAVA_HOME set to point to my c:\jdk1.4.1\bin and export 
>JAVA_HOME in my PATH variable.  I checked the error logs, and for some 
>reason it is saying "unable to find java compiler".
>
You don't have to set it to 'c:\jdk1.4.1\bin' the top level directory 
will do. Just omit the bin for JAVA_HOME.
JAVA_HOME doesn't need to be exported in the PATH variable. Installing the
jdk on a separate partition or drive is ok. As long as 
you set your JAVA_HOME correctly. You may specify a classpath variable 
if you need. Or you could pass arguments to the java.exe program.



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