Skip to content
Prev 5648 / 15379 Next

[R-es] Help: rJava ubuntu 12.04

Estimado Freddy López

De los mensajes al compilar extraigo lo siguiente para comentar luego:

-I/usr/lib/jvm/java-7-openjdk/jre/../include/linux'
java libs   : '-L/usr/lib/jvm/java-7-openjdk/jre/lib/amd64
-L/usr/lib/jvm/java-7-openjdk/jre/lib/amd64/server -ljvm'
checking whether JNI programs can be compiled... yes
checking JNI data types... configure: error: One or more JNI types
differ
from the corresponding native type. You may need to use non-standard
compiler flags or a different compiler in order to fix this.
ERROR: configuration failed for package ?rJava?

El compilador es openjdk, ¿si cambia de compilador, en lugar de openjdk
utilizar el de oracle, me refiero al siguiente
http://www.oracle.com/technetwork/java/javase/downloads/index.html?

Javier Marcuzzi
On mar, 2013-02-26 at 23:12 -0430, Freddy López wrote: