search for the JRE, not JDK

closes #1