Update project to use Java 8

Change the project runtime requirement to JRE 8.