Re: [R] Can't get R to recognize Java for rJava installation

2012-11-16 Thread gparab
Also, remember when you use it to connect to a DB: Teradata or Orcale or MySQLmake 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-

Re: [R] Can't get R to recognize Java for rJava installation

2012-11-13 Thread gparab
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 yo

Re: [R] Can't get R to recognize Java for rJava installation

2012-04-13 Thread Waichler, Scott R
Milan, Merci. I did find the javah file and put it in /usr/bin, where R can now find it. However, I still get a similar error message when trying to install rJava, i.e. configure: error: One or more Java configuration variables are not set. The only field that doesn't have a value now are t

Re: [R] Can't get R to recognize Java for rJava installation

2012-04-13 Thread Milan Bouchet-Valat
Le jeudi 12 avril 2012 à 13:41 -0700, Waichler, Scott R a écrit : > Hi, I am unable to install the package rJava. I tried doing what the output > suggests, but it doesn't help. How can I get R to find/recognize my Java > installation? I am running R-2.15.0. > > waichler@snow> sudo R CMD javar