[R-sig-Geo] xlsx or rJava issue
Edzer Pebesma
edzer.pebesma at uni-muenster.de
Fri Mar 17 10:56:59 CET 2017
Didier, this is somewhat off-topic for this list, but in the past I've
solved all my R/java troubles with running, as root
R CMD javareconf
On 17/03/17 10:46, Dr Didier G. Leibovici wrote:
> Hi,
>
> I had some issues with java settings when using xlsx.
>
> I had re-installed rJava as well.
>
> > library(xlsx)
> Error : .onLoad failed in loadNamespace() for 'xlsx', details:
> call: .jinit()
> error: JNI_GetCreatedJavaVMs returned -1
>
> Error: package or namespace load failed for ‘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.
>
> that file on my machine is in:
> /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/server/
>
> is it a particular JAVA_HOME setting or a PATH issue?
>
> I added this in the PATH, re-installed rJava, re-installed xlsx ... nope!
> thanks,
>
> Didier
>
> on R version 3.3.2 (2016-10-31)
>
--
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of Münster
Heisenbergstraße 2, 48149 Münster, Germany; +49 251 83 33081
Journal of Statistical Software: http://www.jstatsoft.org/
Computers & Geosciences: http://elsevier.com/locate/cageo/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20170317/38b48eb7/attachment.bin>
More information about the R-sig-Geo
mailing list