Simon,

On 18 October 2017 at 21:34, Simon Urbanek wrote:
| Dirk,
| 
| I don't have the details but this looks like as incorrect Java configuration 
in R - the Java home is obviously incomplete as it's missing bin/java and/or 
that path is wrong. Also I'm surprised to the the odd paths 
"/usr/lib/jvm/default-java/" since at least in my installations I see the 
actual JVM being used - but then I don't know how your package (or Debian?) 
abstracts the Java version mess.

This was vanilla 'openjdk-9-jdk' and nothing else.

Could I / should invoke 'R CMD javareconf' ?

Dirk
 
| Cheers,
| Simon
| 
| 
| > On Oct 17, 2017, at 10:24 PM, Dirk Eddelbuettel <e...@debian.org> wrote:
| > 
| > 
| > Simon,
| > 
| > With your new rJava_0.9-9 I tried this against Debian's openjdk-9-jdk -- but
| > with R 3.4.2 as built against openjdk-7 -- and it still fails:
| > 
| > checking whether setjmp.h is POSIX.1 compatible... yes
| > checking whether sigsetjmp is declared... yes
| > checking whether siglongjmp is declared... yes
| > checking Java support in R... present:
| > interpreter : '/usr/lib/jvm/default-java/jre/bin/java'
| > archiver    : '/usr/lib/jvm/default-java/bin/jar'
| > compiler    : '/usr/lib/jvm/default-java/bin/javac'
| > header prep.: '/usr/lib/jvm/default-java/bin/javah'
| > cpp flags   : '-I/usr/lib/jvm/default-java/include 
-I/usr/lib/jvm/default-java/include/linux'
| > java libs   : '-L/usr/lib/jvm/default-java/jre/lib/amd64/server -ljvm'
| > checking whether Java run-time works... ./configure: line 3736: 
/usr/lib/jvm/default-java/jre/bin/java: No such file or directory
| > no
| > configure: error: Java interpreter '/usr/lib/jvm/default-java/jre/bin/java' 
does not work
| > ERROR: configuration failed for package 'rJava'
| > * removing 
'/build/rjava-0.9-9/debian/r-cran-rjava/usr/lib/R/site-library/rJava'
| > /usr/share/R/debian/r-cran.mk:101: recipe for target 'R_any_arch' failed
| > make: *** [R_any_arch] Error 1
| > dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit 
status 2
| > 
| > 
| > Any ideas?  I saw that r-devel got some changes related to javareconf.  Do 
we
| > need to port that to r-patched?  Can you advise?
| > 
| > Many thanks,  Dirk
| > 
| > -- 
| > http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org
| > 
| 

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

Reply via email to