Fix JRE settings