Add instructions on how to compile and run the Java example