Control: reassign -1 r-base
Control: tags -1 patch
Control: affects -1 rjava

Hi Dirk,

I looked at this issue again and I think this could be trivially fixed
with the patch attached (applied to r-base and not rjava). With this
modification rjava properly uses the default JDK in
/usr/lib/jvm/default-java instead of /usr/lib/jvm/java-7-openjdk-<arch>,
making the rjava build resilient to any future change in the default JDK.

Emmanuel Bourg

>From 13f4fd164bf8355a4d63cd6da8270638731677d9 Mon Sep 17 00:00:00 2001
From: Emmanuel Bourg <ebo...@apache.org>
Date: Wed, 20 May 2015 16:48:18 +0200
Subject: [PATCH] Set JAVA_HOME to always use the defaut JDK (Closes: #745098)

---
 debian/rules | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/rules b/debian/rules
index 9be87b1..82c35fa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -240,6 +240,7 @@ configure-stamp:
        R_BROWSER=xdg-open                              \
        PAGER=/usr/bin/pager                            \
        PERL=/usr/bin/perl                              \
+       JAVA_HOME=/usr/lib/jvm/default-java             \
        R_UNZIPCMD=/usr/bin/unzip                       \
        R_ZIPCMD=/usr/bin/zip                           \
        R_PRINTCMD=/usr/bin/lpr                         \
--
2.1.4

Reply via email to