Cheap VPS & Xen Server

Residential Proxy Network - Hourly & Monthly Packages

Install Jsoup

To run any jsoup example, you need to install jsoup. The current version of jsoup is 1.8.1 till 28th november 2014. There are two ways to install jsoup:

  1. By maven pom.xml
  2. By jsoup.jar file.

1) By maven pom.xml file

Currently maven is widely used in java development. So I will recommend you to use maven for developing jsoup application.

To install jsoup using maven, add given dependency in pom.xml file.

  1. <dependency>
  2.   <groupId>org.jsoup</groupId>
  3.   <artifactId>jsoup</artifactId>
  4.   <version>1.8.1</version>
  5. </dependency>

2) By jsoup.jar file

If you are not using maven framework, you can download the jsoup.jar file.

Download jsoup.jar file

Now you need to set classpath of jsoup.jar file. Write following command on console.

  1. set classpath=jsoup-1.8.1.jar;.;%classpath%