Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat Installation problem

 
shah zahid hussain
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 977
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic