I created locally a small multithreaded parsing application just to get acquainted with multithreading and jsoup parser library.
On the server I installed java as it was described in this question/answer "How to install the Sun Java JDK on Ubuntu 10.10 (Maverick Meerkat)?".
Here are my source files:
It was really easy to launch this application via IDE, but how to do it via terminal with *.jar library I don't know.
Thanks to everyone who can help.