rJava fixes