rJava is not picking up the correct Java version
问题 I've been struggling with this problem for a while now. When I install rJava from R, it takes Java 1.6 instead of 1.8. I am using MAC OS 10.8.5 and these are the steps that I've already done. I've installed R. I have both Java 1.6 and 1.8 on my machine. I've reconfigures R from terminal using: sudo R CMD javareconf -n . Here is what the output looks like: Java interpreter : /usr/bin/java Java version : 1.8.0_25 Java home path : /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home