Originally posted by sachin sachdev:
how to set classpath,path,and java_home var in tomcat4.2
It depends on your operating system (OS) and how you're installing Tomcat.
For Windows based systems, there is an ".exe" version that handles all that for you. You only need to verify that it has found the right JDK during the install wizard.
You can also download and unpack a zip file. In this case, you would need to set all the environment variables yourself (either through a wrapper batch file or from your System Settings screen).