Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat installation

 
madhur jain
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have the following statements in the autoexec.bat
file
set JAVA_HOME= C:\jdk1.3.0_02
set CATALINA_HOME=C:\windows\desktop\jakarta-tomcat-4.0.5
PATH=C:\orawin95\bin;c:\jdk1.3.0_02\bin
still after starting startup.bat file it says:
the JAVA_HOME variable is not defined correctly
this env. variable is needed to run this program
Label not found.
i have already fixed the out of env. memory prob.
can someone help
madhur
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try to change 'set' to 'SET' in 'autoecex.bat'
Rene
 
Ashok Mash
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Madhur,
Which operating system are you on? If its either Windows 2000 or XP, setting env. variable in autoexec.bat is not the right way of doing it.
If you are on XP or 2000, User/System variables sections of Advanced Tab of System Properties screen (you can access this from Control Panel) is where you need to set these variables. Its the same for NT as well, I guess.
Autoexec.bat will work only with Windows98 and older versions.
Hope this helps!
[ October 05, 2002: Message edited by: Ashok Manayangath ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic