aspose file tools*
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
Author

Exercise 1.1 in Bridgewater

Praveen Durbha
Greenhorn

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

java uk.co.jbridge.httpclient.UserInterface

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 :
C:\jakarta-tomcat-5.0.28\webapps\ex0101\WEB-INF\classes\uk\co\jbridge\httpclient

Appreciate your help.

Thanks.
Praveen
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

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
Greenhorn

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

Thanks.
Praveen.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exercise 1.1 in Bridgewater