-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rJava uses 1.6 instead of the current Java version #78
Comments
I forked and now only difference is https://github.com/s-u/rJava/pull/16/files |
rJava uses whatever you link it against. Make sure you link against the correct jvm and that it contains the path in the id and/or it can be found on the library path. All of this is automatic if you use regular R distribution - but note that only the R script sets the library path so in other cases you may want to fix the jvm id location if your'e using the Oracle binaries which often don't do that. |
Are you still having issues? Can you say you "ran javareconf" what exactly did you run? There is a note about this issue in the Homebrew formula for R It says:
|
Thanks for checking back. We are no longer using rJava and instead communicating via a socket. |
I am running rJava 0.9-8 on a Mac OSX 10.10.5. The current version of Java installed is 1.8:
However, rJava is using 1.6:
I have followed advice found on stackoverflow to resolve this, including running javareconf and installing rJava from source. I have also tried rJava 0.9-9. I get the same error in RStudio and the R command line and R gui. I have also tried restarting RStudio and rebooting. None of these have helped.
This is what ldpaths contains:
This is what is in javaconf
Thanks for your help!
The text was updated successfully, but these errors were encountered: