Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat.4.1.27.exe execution

 
Jaya Murugan
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i want to install tomcat.4.1.27.. i have downloaded tomcat.4.1.27.exe and saved it in my desktop.
when i click this exe file to install it says that
" could not find a Java Development Kit installed on this computer. Please download one
from http://www.sun.com. If already there is \JDK installed on this computer set an enviornment
variable JAVA_HOME to the \pathname of the directory where it is installed"
In fact i have installed my Java Development kit in c:\jdk1.3
my autoexec.bat file is as follows:

path = c:\windows\command\;c:\windows;c:\jdk1.3\bin;
set JAVA_HOME = c:\jdk1.3\bin
whats wrong?? please help.
thanks
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't set the variables in the autoexec.bat. I think you start the installation directly from the explorer. The autoexec.bat is only executed when a cmd shell is loaded. Set your variables in the system environment of windows. (right click on my computer -> properties -> advanced -> environment variables)
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"scwcd aspirant",
You have been asked here to change your display name. Please do it soon, since accounts with invalid display names get deleted.
thanks,
Dave.
 
Praful Thakare
Ranch Hand
Posts: 642
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I think u should follow Oliver Refles method with setting JAVA_HOME to c:\jdk1.3 rather than c:\jdk1.3\bin
cheers
Praful
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic