File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Windows98/tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Windows98/tomcat" Watch "Windows98/tomcat" New topic
Author

Windows98/tomcat

anshu_bhatia
Greenhorn

Joined: Apr 20, 2001
Posts: 8
I have downloaded tomcat for windows 98 and have borland jbuilder2.My question is how to set the CLASSPATH for tomcat and if I have to do few more steps to run my jsp page?
Thanks for replying.
Maky Chopra
Ranch Hand

Joined: Apr 11, 2001
Posts: 149
extract tomcat to say, c:\tomcat.. edit the tomcat\bin\startup.bat file to include
set JAVA_HOME=c:\jdk1.3 (assuming thats where you installed jdk)
On a Win98 machine, you may run out of environment space when you doubleclick this file.. Therefore, rightclick it and go to properties. In the memory tab, set initial environment memory to 32000 and click ok.. this will create another icon in the bin folder.. double clicking this will start tomcat
This will get tomcat working.. Any jsp's u write in the webapps will also work.. To compile servlets, you will need to set you classpath
I prefer to do this thru the autoexec.bat file.. add this line to your autoexec.bat
set CLASSPATH=%CLASSPATH%;c:\tomcat\lib\servlet.jar When you have started your computer using this autoexec.bat, jbuilder should be able to compile servlets
[This message has been edited by Mak Bhandari (edited April 20, 2001).]
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
"anshu_bhatia",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.
Thanks.

Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Windows98/tomcat