Updating project to use Java 7.

Need to compile project with Java 7 rather than Java 8.
This is mainly because the Raspberr Pi is running Java 7.