Return-Path: Delivered-To: apmail-jakarta-httpclient-user-archive@www.apache.org Received: (qmail 43238 invoked from network); 17 Aug 2006 02:35:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Aug 2006 02:35:15 -0000 Received: (qmail 46143 invoked by uid 500); 17 Aug 2006 02:35:15 -0000 Delivered-To: apmail-jakarta-httpclient-user-archive@jakarta.apache.org Received: (qmail 46086 invoked by uid 500); 17 Aug 2006 02:35:14 -0000 Mailing-List: contact httpclient-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: "HttpClient User Discussion" Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-user@jakarta.apache.org Received: (qmail 46075 invoked by uid 99); 17 Aug 2006 02:35:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Aug 2006 19:35:14 -0700 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,MSGID_FROM_MTA_HEADER,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of dksleung@hotmail.com designates 65.54.246.101 as permitted sender) Received: from [65.54.246.101] (HELO bay0-omc1-s29.bay0.hotmail.com) (65.54.246.101) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Aug 2006 19:35:12 -0700 Received: from hotmail.com ([64.4.26.23]) by bay0-omc1-s29.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 16 Aug 2006 19:34:52 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 16 Aug 2006 19:34:52 -0700 Message-ID: Received: from 64.4.26.200 by by112fd.bay112.hotmail.msn.com with HTTP; Thu, 17 Aug 2006 02:34:51 GMT X-Originating-IP: [218.103.65.30] X-Originating-Email: [dksleung@hotmail.com] X-Sender: dksleung@hotmail.com In-Reply-To: From: "leung cc" To: httpclient-user@jakarta.apache.org Subject: RE: Error in executing PostXML sample application Date: Thu, 17 Aug 2006 10:34:51 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset=big5; format=flowed X-OriginalArrivalTime: 17 Aug 2006 02:34:52.0133 (UTC) FILETIME=[B7A33950:01C6C1A5] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > .... >I have the C:\Cld\myJava in my classpath. i have downloaded the following >dependencies - > >commons-codec-1.3.zip >commons-logging1.1.zip >commons-httpclient-3.1-alpha1.zip > >Unzipped them and have the folders in my C:\Cld\myJava folder. > >However now I cannot even compile the PostXML.java. I get an error message >saying it cannot find the Httpclient classes. > >I tried " javac -classpath C:\cld\myJava PostXML.java " from the command >prompt and get the following errors. Nothing I do will find these classes. Well, if you had simply unzipped those zip's, you are likely to have directories named - under c:\cld\myjava and that won't do you good if javac only tried to find org/apache/commons/httpclient/.... in c:\cld\myjava. Anyway, unless you absolutely must have it that way, why not make the jar's available somewhere in the CLASSPATH or even $java_home/lib/ext and $java_home/jre/lib/ext (sorry, I hate to write %java_home%... :) ? --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpclient-user-help@jakarta.apache.org