Fixing rJava issues with jini