Ensure the Java jar is built before the examples.