Opened 4 years ago
Closed 4 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: | Sensitive: | no |
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 4 years ago by
Component: | other → api/crypto |
---|---|
Milestone: | undecided → 0.9.28 |
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
In a3e5cda975789e5fec3f0aae78dbf40dfd95e3ee to be 0.9.27-3, added some cases for other OSes also, thanks