This example contains two versions of a minimal Java app. One version is for Java 6, the other for Java 7.