Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Tomcat 6 - getting started Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply 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: 14672
    
  11

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Tomcat 6 - getting started
 
Similar Threads
problem in compiling servlet
cannot import servlet apis
What problem is this?
compiling problem with HF JSP book
Java doesn't know where to find servlet packages