refactoring jre definition