[R-SIG-Mac] New problem with R and java affects loading xlsx

MacQueen, Don macqueen1 at llnl.gov
Mon Nov 14 23:18:10 CET 2016


I wonder if anyone here has a moment to send me any clues regarding the
following. I'd appreciate it.

Thanks!


Over the weekend my institution ran some updates, and now, today, I'm
having Java-related problems.

I've run
 R CMD javareconf
apparently successfully, and reinstalled
 rJava
 xlsx
 xlsxjars
also apparently successfully.

But now:
> library(xlsx)
JavaVM: requested Java version ((null)) not available. Using Java at ""
instead.
JavaVM: Failed to load JVM: /bundle/Libraries/libserver.dylib
JavaVM FATAL: Failed to load the jvm library.
Error : .onLoad failed in loadNamespace() for 'xlsx', details:
  call: .jinit()
  error: JNI_GetCreatedJavaVMs returned -1

Error: package or namespace load failed for 'xlsx'
>


I will be enquiring of our IT people.

I acknowledge my R is not current, and I will update it if other efforts
fail -- but this was working as of a week ago, so I'm not inclined to make
that my first step.

JDK and JRE 1.7 are marked by our institutional software management tool
as installed on the machine.

> sessionInfo()
R version 3.3.1 (2016-06-21)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.11.6 (El Capitan)

locale:
[1] C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] xlsxjars_0.6.1 rJava_0.9-8

loaded via a namespace (and not attached):
[1] tools_3.3.1 tcltk_3.3.1



-- 
Don MacQueen

Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062



More information about the R-SIG-Mac mailing list