-
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
sudo R CMD javareconf and R CMD javareconf produce different output with Java 10 #137
Comments
This has been worked around in latest rJava - please try rJava 0.9-10 |
rJava 0.9-10 does not install with openjdk 10.0.1 on openSUSE Tumbleweed:
it should detect that from
|
Ditto on Windows 10 with JDK 10 in RStudio running R 3.5.0. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just posted this in stackoverflow but I don't know if it's something to do with rJava. Perhaps, since it seems that with Java 10 rJava isn't building.
I on macOS 10.13.3 and I just update to java 10 and when I've tried to update R to it I just realize that I get two different outputs if I run
R CMD javareconf
with or withoutsudo
. If I run withsudo
it sticks to Java 9, but if I run withoutsudo
it configures java 10.Without
sudo
:With
sudo
:The end result of this is: without sudo and in consequence with java 10, rJava doesn't build. With sudo and java 9, rJava build normally.
Does anyone know what is going on?
PS/ I have set
$JAVA_HOME
toJAVA_HOME="$(/usr/libexec/java_home)"
in my zsh and bash profile.PS2/ just for the sake of having all the info in one place... when building rJava with Java 10 I get the following error:
I've checked and there isn't a
javah
on/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/bin/javah
as in Java 9.The text was updated successfully, but these errors were encountered: