Default to $version if detailed version number is provieded.
Use /usr/lib/jvm/jre on RedHat as javahome