This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Exercise 1.1 in Bridgewater Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Exercise 1.1 in Bridgewater" Watch "Exercise 1.1 in Bridgewater" New topic

Exercise 1.1 in Bridgewater

Praveen Durbha

Joined: May 16, 2005
Posts: 16
I am having trouble running the first exercise(Exercise 1.1) in David Bridgewater's book for SCWCD. In Step 3, running this command:


from the command prompt should open the UI. But it doesn't. For some reason, it's not able to locate the UserInterface.class file.

My CLASSPATH settings are: C:\jakarta-tomcat-5.0.28\bin;C:\j2sdk1.4.2_10\bin

UserInterface.class is located at :

Appreciate your help.

Christophe Verré

Joined: Nov 24, 2005
Posts: 14687

Add C:\jakarta-tomcat-5.0.28\webapps\ex0101\WEB-INF\classes\ to your CLASSPATH.

It seems that you are confusing PATH and CLASSPATH.
bin directories are usually part of the PATH, not CLASSPATH.

[My Blog]
All roads lead to JavaRanch
Praveen Durbha

Joined: May 16, 2005
Posts: 16
Yeah, you are right. I should have known. It works fine now.

I agree. Here's the link:
subject: Exercise 1.1 in Bridgewater
Similar Threads
how to set catalina home
Tocmat ./config : checking C flags dependant on host system type... failed
tomcat startup
Tomcat Installation