Recognise OpenJDK 1.8

OpenJDK 1.8 reports it's version as `openjdk version "1.8.0"` rather than `java version...` like earlier versions.