better logic for finding a JDK, vs just a JRE
Merge pull request #3 from optimizely/find_java

better logic for finding a JDK, vs just a JRE