Compile with JDK 7 (default) and 8.