wood burning stoves 2.0*
The moose likes Servlets and the fly likes Tomcat Installation problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Tomcat Installation problem" Watch "Tomcat Installation problem" New topic
Author

Tomcat Installation problem

shah zahid hussain
Greenhorn

Joined: Jul 18, 2001
Posts: 2
hello Javaranch user,
i am extract tomcat in drive d and rename it tomcat
and same drive i am install jdk1.3
below my Autoexec.bat file r
SET BLASTER=A220 I5 D1 T4
SET C:\WINDOWS;C:\WINDOWS\COMMAND;C:\PROGRAMFILES\MTS;
C:\PROGRA~1\OPENLINK\BIN
SET UDBCINI=C:\PROGRAM FILES\OPENLINK\BIN\UDBC.INI

PATH=%PATH%;"C:\Program Files\Mts"
SET JAVA_HOME = D:\jdk1.3
SET TOMCAT_HOME=D:\
SET PATH=%PATH%;D:\tomcat\bin
SET CLASSPATH=%CLASSPATH%;d:\jdk1.3\lib\tools.jar

if i am run the file startup in d:/tomcat/bin/
error appear in dos prompt
"You must set JAVA_HOME to point at your Java Development Kit Installation"

i don't no what is wrong with my autoexec.bat file
if any body solve this problem plz mail me
my email add is
zahidshahh@hotmail.com
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
Hi,
try like this:
set JAVA_HOME=d:\jdk1.3
set TOMCAT_HOME=d:\tomcat
set PATH=%JAVA_HOME%\bin;%PATH%
set CLASSPATH=%TOMCAT_HOME%\lib\servlet.jar;%JAVA_HOME%\lib\tools.jar;%CLASSPATH%
also check if the folder where the j2sdk1.3 is in, is really named jdk1.3
This should work.

[This message has been edited by Marcos Maia (edited July 22, 2001).]
nan sh
Ranch Hand

Joined: Jan 05, 2001
Posts: 167
Your line of code;
SET JAVA_HOME = D:\jdk1.3
I saw there are spaces before and after = , that is wrong! space did not allow.


Have you tried this Mock Exam Testing Engine yet?<br /><a href="http://www.mycgiserver.com/~nan111/index.html" target="_blank" rel="nofollow">www.mycgiserver.com/~nan111/index.html</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat Installation problem