Opened 2 years ago

Closed 2 years ago

#1863 closed defect (fixed)

[patch] fix jbigi build for Arch Linux when using jre8-openjdk

Reported by: anonimal Owned by:
Priority: minor Milestone: 0.9.28
Component: api/crypto Version: 0.9.27
Keywords: Cc:
Parent Tickets:

Description

diff --git a/core/c/find-java-home b/core/c/find-java-home
index bd28bac..b00704a 100644
--- a/core/c/find-java-home
+++ b/core/c/find-java-home
@@ -29,7 +29,9 @@ elif [ $UNIXTYPE = "linux" ] && [ -e /etc/debian_version ]; then
        JAVA_HOME="/usr/lib/jvm/default-java"
     fi
 elif [ $UNIXTYPE = "linux" ] && [ -e /etc/arch-release ]; then
-    if [ -d /usr/lib/jvm/java-7-openjdk ]; then
+    if [ -d /usr/lib/jvm/java-8-openjdk ]; then
+        JAVA_HOME="/usr/lib/jvm/java-8-openjdk"
+    elif [ -d /usr/lib/jvm/java-7-openjdk ]; then
         JAVA_HOME="/usr/lib/jvm/java-7-openjdk"
     elif [ -d /usr/lib/jvm/java-6-openjdk ]; then
         JAVA_HOME="/usr/lib/jvm/java-6-openjdk"

Subtickets

Change History (1)

comment:1 Changed 2 years ago by zzz

  • Component changed from other to api/crypto
  • Milestone changed from undecided to 0.9.28
  • Resolution set to fixed
  • Status changed from new to closed

In a3e5cda975789e5fec3f0aae78dbf40dfd95e3ee to be 0.9.27-3, added some cases for other OSes also, thanks

Note: See TracTickets for help on using tickets.