More examples, fixes for latest JDK8 build