Fixed jre issues