This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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

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: 14688

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.

Have you checked out Aspose?
subject: Exercise 1.1 in Bridgewater
It's not a secret anymore!