Fix Java JRE/JDK paths.