added basic build support for Java client library