development/openjdk8: Update README. Add zulu-openjdk7 boot option.
Signed-off-by: bedlam <dave@slackbuilds.org>
This commit is contained in:
parent
a26c0759bc
commit
a8a3f4382d
|
@ -9,6 +9,7 @@ dependency package -- you may wish to remove it after you're done.)
|
|||
|
||||
If you already have 'openjdk8' on your system (and are compiling a
|
||||
newer version, for example) you don't need the 'openjdk7' dependency.
|
||||
Also, you can use 'zulu-openjdk7' instead of 'openjdk7' if you wish.
|
||||
|
||||
After installing the package you will need to logout/login to your
|
||||
machine as it will add new files to the /etc/profile.d folder.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for OpenJDK
|
||||
|
||||
# Copyright 2020 Strahil Yordanov, Sofia, Bulgaria
|
||||
# Copyright 2022 Strahil Yordanov, Sofia, Bulgaria
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PRGNAM=openjdk8
|
||||
VERSION=${VERSION:-8u345}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
|
@ -60,7 +60,8 @@ else
|
|||
fi
|
||||
|
||||
BOOT_JAVA=/usr/lib${LIBDIRSUFFIX}/openjdk7
|
||||
[ ! -d ${BOOT_JAVA} ] && BOOT_JAVA=${BOOT_JAVA%?}8
|
||||
[ ! -d ${BOOT_JAVA} ] && BOOT_JAVA=${BOOT_JAVA%/*}/zulu-openjdk7
|
||||
[ ! -d ${BOOT_JAVA} ] && BOOT_JAVA=${BOOT_JAVA%/*}/openjdk8
|
||||
[ ! -d ${BOOT_JAVA} ] && { echo "Boot java not found"; exit 1; }
|
||||
|
||||
set -e
|
||||
|
|
Loading…
Reference in New Issue