Skip to content
Prev 631 / 3656 Next

rJava in R 2.8.1 on Ubuntu 8.10

It's almost always the same with failing builds:
On 31 January 2009 at 11:41, Stefan Th. Gries wrote:
[...]
Java home path   : /usr/lib/jvm/java-6-openjdk/jre
[...]

This clearly states that you have the JRE -- ie the __run-time__
environment.  The Builds-Depends [1] are for the package openjdk-6-jdk -- ie
the 'java development kit'.  Install that, re-run 'sudo R CMD javareconf' and
try again.

Dirk

[1] The second-best thing about having Debian packages, besides giving you
the binaries, is that they give you the essentially fail-safe recipe for
building them, including the list of ingredients encoded in the
Build-Depends: line of debian/control. You get that via the .diff.gz