Add in examples to Java build.