wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Tomcat 6 - getting started Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Tomcat 6 - getting started" Watch "Tomcat 6 - getting started" New topic
Author

Tomcat 6 - getting started

Jack Bento
Ranch Hand

Joined: Jun 14, 2009
Posts: 34
Hi there

I'm trying to compile the BeerSelect.java at the start of HFSJ. I added tomcats bin folder to the classpath but I can't get it to find the tomcat jar



please tell me what i'm doinig wrong. Thanks!
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

I added tomcats bin folder to the classpath but I can't get it to find the tomcat jar

You need to study something about compiling classes using JAR files I also see that you are mixing colons and semi-colons to set the classpath. You either use ";" on Windows, or ":" on Unix, but not both. For the moment, you can just check this FAQ about compiling servlets.


[My Blog]
All roads lead to JavaRanch
Jack Bento
Ranch Hand

Joined: Jun 14, 2009
Posts: 34
thanks Christophe. I knew it was a school boy error of some sort
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat 6 - getting started
 
Similar Threads
compiling problem with HF JSP book
cannot import servlet apis
What problem is this?
Java doesn't know where to find servlet packages
problem in compiling servlet