Add support for a java8 marker file and temporarily install JDK 8