moved java state to dedicated jre state