#68 jdk8 problem

This fixes problems with JDK8 in the examples. It's only a problem of the complex example and not the framework itselfs.