I want to set the Envoronment variable in Windows 98.
I had set path & classpath in DOS prompt as,
set path=%path%;D:\jdk1.4\bin set classpath=%classpath%;D:\jdk1.4\lib
I don't know How to set Java_home & catalina_home in windows 98.
Pls any one guide me. then one more Questions.
In my friend P.C, Some jsp Example is running in tomcat server properly. but servlet program is not working in tomcat server and I can't compile servlet file in DOS Prompt also. shall I want to set any classpath for servlet?
- Adding the JDK lib directory to the classpath is not going to do much, because it contains jar files, which have to be added explicitly one by one (unless you're using the lib directory to store your own loose class files, which is not a good idea).
- Setting java_home and catalina_home is no different from setting path and classpath. Either you set them on the command line (as you have done with the others), where you will lose them when you close the window, or more permanently under the extended system settings in the workstation properties (may be named differently on Win98).
- You didn't mention what kind of problem you have compiling servlets, but for every compilation you need to include the referenced classes in your classpath. So in order to compile servlets, you need to include the servlet API jar file, which you'll find in the Tomcat/common/lib directory.
- On an unrelated note, this site has a naming policy, and your displayed name does not conform to it; please correct that. [ August 22, 2005: Message edited by: Ulf Dittmer ]
Ping & DNS - updated with new look and Ping home screen widget