• Post Reply Bookmark Topic Watch Topic
  • New Topic

help in starting tomcat..

 
jyotsana dang
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI.. can anyone help me out in setting the environment variables of tomcat..
I typed the following lines in autoexec.bat:
set path=%path%;c:\j2sdk1.4.2_01\bin;
set classpath=%CLASSPATH%;c:\program files\apache group\tomcat 4.1\common\lib\servlet.jar;
SET JAVA_HOME=c:\j2sdk1.4.2_01
SET TOMCAT_HOME=c:\program files\apache group\tomcat 4.1
SET CATALINA_HOME=c:\program files\apache group\tomcat 4.1
I went to the system settings in control panel and set up the java_home, tomcat_home and catalina_home environment variables.
But when i try to run tomcat from the start menu it gives an error that c:\j2sdk1.4.2_01\bin not found..
where could be the problem?
thx..
jyotsana
 
kumar nagur
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
set path=c:\j2sdk1.4.2_01\bin;%CATALINA_HOME%\bin;
set classpath= %CATALINA_HOME%\bin;C:\j2sdk1.4.1_02\bin;C:\j2sdk1.4.1_02\jre\lib\ext\servlet-api.jar;
SET JAVA_HOME=c:\j2sdk1.4.2_01
SET TOMCAT_HOME=c:\program files\apache group\tomcat 4.1
SET CATALINA_HOME=c:\program files\apache group\tomcat 4.1
try this ..
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!