• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Windows98/tomcat

 
anshu_bhatia
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic