Hello Hugh,
I had the same question just few days ago. I'm new too...
It seems you have to set your CLASSPATH variable. Depending on your OS, you
can find the way to do to it on the Web
(http://java.sun.com/j2se/1.3/docs/tooldocs/win32/classpath.html).
My OS is windows XP. What I did is :
- uncompress the zip files,
- use maven to build,
- set the CLASSPATH as it is explained here :
http://faculty.ed.umuc.edu/~arnoldyl/NetBeansTutorials/Setting-Classpath.html
Hope it will help,
Best regards,
Jeff
----- Original Message -----
From: "HughT" <[email protected]>
To: <[email protected]>
Sent: Sunday, March 07, 2010 8:44 AM
Subject: Error using import org.apache.commons.httpclient.*
Hello,
I'm new to Apache and I'm trying to use HttpClient in Java, but just can't
seem to be able to get the right jar file for some reason. I keep getting
an
error that the package org.apache.commons.httpclient does not exist. I
downloaded almost every related jar file I could find, but it is still not
working. These are the jar files I have so far:
commons-email-1.2
httpclient-4.0.1
httpmime-4.0.1
activation
dsn
imap
mailapi
pop3
smtp
mail
commons-email-javadoc/sources
commons-logging-...
commons-collections-...
commons-net-2.0-...
jakarta-oro-2.0
I'm sure many of these are absolutely useless, but I was growing
desperate.
I just need to import org.apache.commons.httpclient.* into Java. If
someone
could please let me know what exactly it is I need to download, jar file
or
other, I would be extremely grateful!
Hugh
--
View this message in context:
http://old.nabble.com/Error-using-import-org.apache.commons.httpclient.*-tp27809614p27809614.html
Sent from the HttpClient-User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
--------------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.435 / Virus Database: 271.1.1/2727 - Release Date: 03/06/10
19:34:00
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]