# Changes between Version 18 and Version 19 of udg/ecoms/RPackage/prerequisites

Ignore:
Timestamp:
Jan 19, 2016 3:43:56 PM (7 years ago)
Comment:

--

### Legend:

Unmodified
 v18 Once rJava is installed, you may want to know the characteristics of the java version used by R: {{{#!text/R library(rJava) .jinit() > library(rJava) > .jinit() [1] 0 .jcall("java/lang/System", "S", "getProperty", "java.vendor") > .jcall("java/lang/System", "S", "getProperty", "java.vendor") [1] "Oracle Corporation" .jcall("java/lang/System", "S", "getProperty", "java.runtime.version") > .jcall("java/lang/System", "S", "getProperty", "java.runtime.version") [1] "1.7.0-b147" .jcall("java/lang/System", "S", "getProperty", "os.arch") > .jcall("java/lang/System", "S", "getProperty", "os.arch") [1] "x86" }}} > .jcall("java/lang/System", "S", "getProperty", "java.runtime.version") }}} If you are having problems with newly installed Java version please take a look to this: If you are having problems to run R (or RStudio) with a newer installed Java version please take try again opening R (or RStudio) from the terminal (instead of directly clicking on the application icon). Take a look to the following link: [http://stackoverflow.com/questions/26948777/how-can-i-make-rjava-use-the-newer-version-of-java-on-osx] In some cases, the problem is fixed for R but not for RStudio. In this situation, opening RStudio from the terminal may solve the problem. In some cases, after recompiling RJava (as user, or sudo) as explained in the previous instructions, the problem is fixed when opening R (or RStudio) from the terminal (instead of directly clicking on the application icon). {{{ user$/Applications/RStudio.app/Contents/MacOS/RStudio ~$ R }}} or {{{ ~\$ /Applications/RStudio.app/Contents/MacOS/RStudio }}} Take a look also at the following link: Take is also some useful information at the following link: [https://support.rstudio.com/hc/communities/public/questions/200650933-rJava-fails-to-load-in-RStudio-Desktop-OS-X] === Windows