added path to JRE 8

I think there's a better way to get a path the JRE, but I don't know one at the moment (perhaps a regular expression). I came across this error after downloading the latest JRE. Hope this helps someone else who might run into this same problem.