[R-SIG-Mac] Error when loading rJava

Manuel Spínola m@p|no|@10 @end|ng |rom gm@||@com
Mon Apr 29 14:15:55 CEST 2019


Dear list members,

I got the following error when loading rJava 0.9-11 on Mac Mojave 10.14.4
and R 3.6.0

> library(rJava)
Error: package or namespace load failed for ‘rJava’:
 .onLoad failed in loadNamespace() for 'rJava', details:
  call: dyn.load(file, DLLpath = DLLpath, ...)
  error: unable to load shared object
'/Library/Frameworks/R.framework/Versions/3.6/Resources/library/rJava/libs/rJava.so':
 dlopen(/Library/Frameworks/R.framework/Versions/3.6/Resources/library/rJava/libs/rJava.so,
6): Library not loaded:
/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home/lib/server/libjvm.dylib
  Referenced from:
/Library/Frameworks/R.framework/Versions/3.6/Resources/library/rJava/libs/rJava.so
  Reason: image not found

This is the information from the terminal:

Last login: Mon Apr 29 06:04:25 on console

Manuels-MacBook-Pro:~ manuelspinola$ java -version

java version "1.8.0_212"

Java(TM) SE Runtime Environment (build 1.8.0_212-b10)

Java HotSpot(TM) 64-Bit Server VM (build 25.212-b10, mixed mode)


Manuels-MacBook-Pro:~ manuelspinola$ ls /Library/Java/JavaVirtualMachines/

jdk1.8.0_201.jdk jdk1.8.0_212.jdk

Manuels-MacBook-Pro:~ manuelspinola$


-- 
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspinola using una.cr <mspinola using una.ac.cr>
mspinola10 using gmail.com
Teléfono: (506) 8706 - 4662
Personal website: Lobito de río <https://sites.google.com/site/lobitoderio/>
Institutional website: ICOMVIS <http://www.icomvis.una.ac.cr/>

	[[alternative HTML version deleted]]



More information about the R-SIG-Mac mailing list