Swig
The Java part of the library looks good to me now. Some classes have been re-named and the _acquire _part uses JNI. The README file has been updated with the new Java code.
@isolov Since you have already integrated the token mechanism in some Java librayy, once this is merged you need to apply some small changes to your Java code.