Error when importing rJava

Issue #158 resolved
Laurent Gautier created an issue

The error is:

libjvm.so: cannot open shared object file: No such file or directory

Running

R CMD javareconf -e

solves the problem.

It is otherwise caused by the fact the command R is a shell script that sets few things before running a binary,

R is tweaking LD_LIBRARY_PATH with this "sub"-script:

cat `R RHOME`/etc/ldpaths

Comments (2)

  1. Log in to comment