Fix java 8 version check
Merge pull request #260 from mpilquist/java8-bash

Fix java 8 version check