I had similar issue. This worked for me: get in as root: export JAVA_HOME="/usr/java/jdk1.6.0_37/jre" export PATH=$PATH:$JAVA_HOME/bin ln -sf usr/java/default/bin/javah /usr/bin/javah ln -sf usr/java/default/bin/javap /usr/bin/javap (basically make sure you have all java* binaries that you have under usr/java/default/bin/ are also under /usr/bin/ as link. Follow how javac is placed under /usr/bin/) R CMD javareconf now make sure you still have the JAVA_HOME and PATH variable intact as you set it. Go to R and try installing "rJava" package, it should work. -- View this message in context: http://r.789695.n4.nabble.com/Can-t-get-R-to-recognize-Java-for-rJava-installation-tp4553023p4649363.html Sent from the R help mailing list archive at Nabble.com.
Can't get R to recognize Java for rJava installation
2 messages · gparab
3 days later
Also, remember when you use it to connect to a DB: Teradata or Orcale or MySQL....make sure you have JRE running and relevant DB jars are loaded in class path. .jclassPath() => to check class paths .jinit() => to run JRE -- View this message in context: http://r.789695.n4.nabble.com/Can-t-get-R-to-recognize-Java-for-rJava-installation-tp4553023p4649778.html Sent from the R help mailing list archive at Nabble.com.