line 106 javaDir() path, added path for jre8

Ran into this problem with the latest JRE8 (java runtime environment. There's probably a better way to do this with a regular expression (jre*). But I don't have the time at the moment to come up with a better way.