5

import org.apache.http.client.*;

I want to import this java package it says that it doesn't exist, so where should I download this package from, and where to install it ?

2 Answers 2

4

You can download the jar file from the Maven Repository.

You just need to place the jar on the classpath, no need to install anything.

Sign up to request clarification or add additional context in comments.

3 Comments

Can I ask you which specific file should I download?
I would recommend the jar for version 3.1 since it's the latest release.
I see the binary download comes with several JAR files (about 10) Do I need to install only httpclient or all of the JARs?
1

ypu can download it from here . http://hc.apache.org/httpclient-3.x/ You will need to add it to the build path (if you are using eclipse).

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.