John,

I see this:

edd@max:~$ r -e'require(rJava)'
Loading required package: rJava
Loading required package: methods
Error : .onLoad failed in loadNamespace() for 'rJava', details:
  call: dyn.load(file, DLLpath = DLLpath, ...)
  error: unable to load shared object 
'/usr/lib/R/site-library/rJava/libs/rJava.so':
  libjvm.so: cannot open shared object file: No such file or directory

but also

edd@max:~$ locate libjvm.so
/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/cacao/libjvm.so
/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/server/libjvm.so
edd@max:~$ 
LD_LIBRARY_PATH="/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/server" r 
-e'require(rJava)'
Loading required package: rJava
Loading required package: methods
edd@max:~$ 

Java is a bit of a moving target. We did add 

edd@max:~/svn/littler$ ./configure --help|grep java
  --with-java-libs        Link littler to R's java libraries
edd@max:~/svn/littler$ 

a while back but that may not be sufficient.  Would you have time to poke
around at your end how we could make this better (presuming that you want
something more solid than the LD_LIBRARY_PATH adjustment you could also do on
your system-side).

Dirk

-- 
Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to