Building the Java client

This topic contains the list of requirements and the command to build the Java client.

Requirements
  • JDK 7
  • protoc 2.6 or newer installed in your path, or built from the thirdparty/ directory. Run the following commands to build protoc from the third-party dependencies:
    thirdparty/download-thirdparty.sh
    thirdparty/build-thirdparty.sh protobuf

To build the Java client, clone the Kudu Git repository, change to the java directory, and issue the following command:

./gradlew :kudu-client:assemble -x test

For more information about building the Java API, as well as Eclipse integration, see java/README.md.