Q:

error: package org.jsoup.Jsoup does not exist while compiling the class using command prompt

While compiling a java class in which I had imported packages such as org.jsoup.Jsoup, the following error was retrieved:

package org.jsoup does not exist.

I don't know how to add the classpath for jsoup-1.8.1.jar file.

A:

Try:
java -cp .:jsoup-1.8.1.jar JsoupTest

