Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setup J2EE SDK 1.4.01 & Tomcat 5.5.7 environmental variables in Win XP

Status
Not open for further replies.

croucherj3

Programmer
Sep 13, 2003
5
US
Hi,
I need help getting Tomcat running. I have searched Sun's Java forums and Google, but cannot find an anwser. I also tried the Tomcat and J2EE documentation but was still unable to resolve this.

I have a fresh install of Win XP SP2. Using the default setups, I have just installed:
-j2eesdk-1_4_01_2005Q1-windows.exe (All-In-One Bundle from )
-jakarta-tomcat-5.5.7.exe (Binary from )

Everything I have read says to set the environmental variables to something like this:
JAVA_HOME: C:\j2sdk1.4.0_01\
PATH:C:\j2sdk1.4.0_01\bin;

But here lies the problem:
I do not have a directory called C:\j2sdk1.4.0_01. I have:
- C:\Sun\AppServer
- C:\Program Files\Apache Software Foundation\Tomcat 5.5

What I need help with is setting the following variables:
- J2EE_HOME
- JAVA_HOME
- CLASSPATH
- Path

Any help you can provide is sincerly appreciated.

John
Athens, OH
 
Have you installed the J2SE SDK (tomcat 5.5 should be run with Java 5/1.5)? You need the plain version of java to run tomcat ... (if you are not sure, type in "java -version" on the command line)

--------------------------------------------------
Free Database Connection Pooling Software
 

I went through this nightmare before. It turned out that j2ee is an extension to j2se. You will need to install j2se before you will be able to use Tomcat.
You do not need to un-install or delete j2ee. j2ee and j2se complement each other.
Good luck.
 
CATALINA_HOME c:\Program Files\Apache Group\TOMCAT 4.1\Bin
Classpath c:\programfiles\documentum\dctm.jar;c:\documentum\product\5.2\install\java
JAVA_HOME C:\jdk1.3.1_03
Path %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\Common Files\Adaptec Shared\System;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Ascent\Bin;;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\

These are my ones, the The upper case variables are Casesensitive.
Hope that helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top