• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Windows98/tomcat

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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).]
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic