Omair Majid omajid at redhat.com
Tue Oct 23 01:58:56 UTC 2012

On 10/22/2012 09:39 PM, Richard Vickery wrote:
> checking Java support in R... present:
> interpreter : '/bin/java'
> archiver    : '/bin/jar'
> compiler    : '/bin/javac'
> header prep.: '/bin/javah'
> cpp flags   : '-I/usr/lib/jvm/java-1.7.0-openjdk- -I/usr/lib/jvm/java-1.7.0-openjdk-'
> java libs   : '-L/usr/lib/jvm/java-1.7.0-openjdk- -L/usr/lib/jvm/java-1.7.0-openjdk- -ljvm'
> checking whether JNI programs can be compiled... 
> configure: error: Cannot compile a simple JNI program. See config.log for details.
> Make sure you have Java Development Kit installed and correctly registered in R.
> If in doubt, re-run "R CMD javareconf" as root.

Have you installed java-1.7.0-openjdk-devel?

Could you share the java/jni program that it's attempting to compile and
the command it uses for compilation, please?


PGP Key: 66484681 (http://pgp.mit.edu/)
Fingerprint = F072 555B 0A17 3957 4E95  0056 F286 F14F 6648 4681

More information about the devel mailing list