Maven
Liblinear is available via the official Maven repository.
Usage
The usage is pretty similar to the C++
library version.
Standalone
$ java -cp liblinear-2.44.jar de.bwaldvogel.liblinear.Train -v 5 rcv1_train.binary
nSV = 6021
time: 719 ms
correct: 19638
Cross Validation Accuracy = 97.0161%
Java API
Weka
There is a Weka wrapper that can be installed using the Weka Package Manager.