Jgit installation on Unix

I have mainframe source code on Unix server which I want to move to GIT.
For acheiveing this, I want to use Jgit.
However I have tried to download the jars from the below links which are not working for me.


When I try to run teh jar with
java -jar

I get NoClassDEf error.

Could anyone help me with how to install jgit on unix ?