On Thursday 14 August 2014 17:34:00 Pino Toscano wrote:
This helps some distros (e.g. Archlinux) where openjdk is installed
in
java-MAJOR-openjdk directories, without any "default version" symlink.
FWIW, since less than a month, Arch Linux includes a
/usr/lib/jvm/java-default-runtime -> java-7-openjdk symlink (or java-8-openjdk)
(see package java-common). Documentation:
https://wiki.archlinux.org/index.php/Java#Multiple_official_Java_environm...
Peter
---
configure.ac | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configure.ac b/configure.ac
index 1d93ca0..fa26924 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1251,6 +1251,8 @@ if test "x$with_java" != "xno"; then
for d in \
/usr/lib/jvm/java \
/usr/lib/jvm/default-java \
+ /usr/lib/jvm/java-8-openjdk \
+ /usr/lib/jvm/java-7-openjdk \
/usr/lib/jvm/java-6-openjdk
do
if test -d $d && test -f $d/bin/java; then