[R] Trying to install rJava

From: Dat Mai <dat.d.mai_at_gmail.com>
Date: Sat, 21 May 2011 05:18:19 +0000


Hello All,

I'm trying to install rJava in ubuntu, and ended up with the following:

~$ sudo R CMD javareconf JAVAC=/usr/lib/jvm/java-6-openjdk/jre/../bin/javac JAR=/usr/bin/jar JAVAH=/usr/bin/javah

Java interpreter : /usr/bin/java
Java version     : 1.6.0_24
Java home path   : /usr/lib/jvm/java-6-sun-1.6.0.24/jre

/usr/lib64/R/bin/javareconf: 158:
/usr/lib/jvm/java-6-openjdk/jre/../bin/javac: not found
Java compiler    : not functional
Java headers gen.: /usr/bin/javah
Java archive tool: /usr/bin/jar
Java library path:
$(JAVA_HOME)/lib/amd64/server:$(JAVA_HOME)/lib/amd64:$(JAVA_HOME)/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
JNI linker flags : -L$(JAVA_HOME)/lib/amd64/server -L$(JAVA_HOME)/lib/amd64 -L$(JAVA_HOME)/../lib/amd64 -L/usr/java/packages/lib/amd64 -L/usr/lib64 -L/lib64 -L/lib -L/usr/lib -ljvm
JNI cpp flags : -I$(JAVA_HOME)/../include -I$(JAVA_HOME)/../include/linux

Updating Java configuration in /etc/R
Done.

I'm guessing that the problem lies in the line with "/usr/lib64/R/bin/javareconf: 158:
/usr/lib/jvm/java-6-openjdk/jre/../bin/javac: not found", leading to the
"not functional" Java compiler. How would I solve this issue?

-- 
Best,
Dat Mai
PhD Rotation Student
Albert Einstein College of Medicine

	[[alternative HTML version deleted]]

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Sat 21 May 2011 - 05:22:08 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 21 May 2011 - 05:30:08 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive