You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Bader Qurashi <ba...@yahoo.com> on 2004/06/16 08:45:05 UTC

Setting JAVA_HOME and CATALINA_HOME on XP

Hi,

I want to run servlets and JSP pages on tomcat but I
am having problems with the installation of tomcat. I
am not sure how to configure the JAVA_HOME and
CATALINA_HOME envioronment variables could someone
help me with this. I have tried google and yahoo
search and tried configuring it to some of the
recommendation but to no avail.


Thanks,

Bader


		
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail

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


Re: Setting JAVA_HOME and CATALINA_HOME on XP

Posted by Bader Qurashi <ba...@yahoo.com>.
Hi Jason,

Thanks for the inputs I have added the following lines
under the system variables 
Variable name:  CATALINA_HOME
Variable value: c:\jakarta-tomcat-5.0.19

and my JAVA_HOME is defined in the following way also
under system variables as
Variable name: JAVA_HOME
Variable value : C:\j2sdk1.4.2_01\bin

another system variable defined as 
Variable name: Path
Variable value:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\j2sdk1.4.2_01\bin;c:\cis53;

one last piece of info is another system variable
called  
Variable name:classpath
Variable value: c:\j2sdk1.4.2_01\bin

The above Path and classpath system variables defined
let's me compile my java classes normally but for
running them I have to type
C:\java -classpath . {java class file name}

I have tried to outline all the things that I have on
my system. 

Let me know of your inputs.

Thanks,

Bader

--- "Jason L. West, Sr." <JL...@aol.com> wrote:
> On WinXP you will want to set these in the
> "Environment Variables" 
> located under properties of "My Computer".  You can
> get there by right 
> clicking on the "My Computer" icon and selecting
> properties.  When the 
> new window comes up click on the "Advance" tab and
> then select the 
> "Environment Variables" button located at the bottom
> of the screen.
> 
> This is where you will set up the new "System
> Variables" for the 
> applications.  CATALINA_HOME and JAKARTA_HOME as
> System variables click 
> on the new button and then insert the information
> required.  For example:
> 
> Variable Name: CATALINA_HOME
> Variable Value: c:\tomcat
> 
> Variable Value being the root directory for the
> tomcat installation. 
> This may differ with your setup.
> 
> Let me know if you have any questions on this.
> 
> Jason L. West, Sr.
> Internet Application Specialist, Sr.
> 
> Bader Qurashi wrote on 6/16/2004, 01:45:
> 
>  > Hi,
>  >
>  > I want to run servlets and JSP pages on tomcat
> but I
>  > am having problems with the installation of
> tomcat. I
>  > am not sure how to configure the JAVA_HOME and
>  > CATALINA_HOME envioronment variables could
> someone
>  > help me with this. I have tried google and yahoo
>  > search and tried configuring it to some of the
>  > recommendation but to no avail.
>  >
>  >
>  > Thanks,
>  >
>  > Bader
>  >
>  >
>  >
>  > __________________________________
>  > Do you Yahoo!?
>  > Yahoo! Mail - Helps protect you from nasty
> viruses.
>  > http://promotions.yahoo.com/new_mail
>  >
>  >
>
---------------------------------------------------------------------
>  > 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
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Re: Setting JAVA_HOME and CATALINA_HOME on XP

Posted by "Jason L. West, Sr." <JL...@aol.com>.
On WinXP you will want to set these in the "Environment Variables" 
located under properties of "My Computer".  You can get there by right 
clicking on the "My Computer" icon and selecting properties.  When the 
new window comes up click on the "Advance" tab and then select the 
"Environment Variables" button located at the bottom of the screen.

This is where you will set up the new "System Variables" for the 
applications.  CATALINA_HOME and JAKARTA_HOME as System variables click 
on the new button and then insert the information required.  For example:

Variable Name: CATALINA_HOME
Variable Value: c:\tomcat

Variable Value being the root directory for the tomcat installation. 
This may differ with your setup.

Let me know if you have any questions on this.

Jason L. West, Sr.
Internet Application Specialist, Sr.

Bader Qurashi wrote on 6/16/2004, 01:45:

 > Hi,
 >
 > I want to run servlets and JSP pages on tomcat but I
 > am having problems with the installation of tomcat. I
 > am not sure how to configure the JAVA_HOME and
 > CATALINA_HOME envioronment variables could someone
 > help me with this. I have tried google and yahoo
 > search and tried configuring it to some of the
 > recommendation but to no avail.
 >
 >
 > Thanks,
 >
 > Bader
 >
 >
 >
 > __________________________________
 > Do you Yahoo!?
 > Yahoo! Mail - Helps protect you from nasty viruses.
 > http://promotions.yahoo.com/new_mail
 >
 > ---------------------------------------------------------------------
 > 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