Use local configuration (Oracle Java).

This commit is contained in:
Ivan Davidov 2017-12-04 16:08:52 +02:00
parent 091c46b636
commit ac9b6b4925
4 changed files with 15 additions and 10 deletions

View File

@ -41,14 +41,6 @@ SYSLINUX_SOURCE_URL=http://kernel.org/pub/linux/utils/boot/syslinux/syslinux-6.0
# #
#####################################################################
# You need to manually download Oracle's JRE or JDK and set the property with
# the absolute path to the downloaded archive. Example:
#
# JAVA_ARCHIVE=/home/ivan/Downloads/jdk-8u131-linux-x64.tar.gz
#
#JAVA_ARCHIVE=/absolute/path/to/java.archive.tar.gz
#JAVA_ARCHIVE=/home/ivan/Downloads/jdk-9_linux-x64_bin.tar.gz
# You can find the latest kbd source bundles here:
#
# http://www.kbd-project.org/

View File

@ -0,0 +1,11 @@
# You can find the latest Oracle Java/JDK downloads here:
#
# http://www.oracle.com/technetwork/java/javase/downloads/index.html
#
# You need to manually download Oracle's JRE or JDK and set the property with
# the absolute path to the downloaded archive. Example:
#
# JAVA_ARCHIVE=/home/ivan/Downloads/jdk-8u131-linux-x64.tar.gz
#
#JAVA_ARCHIVE=/absolute/path/to/java.archive.tar.gz
JAVA_ARCHIVE=/home/ivan/Downloads/jdk-9.0.1_linux-x64_bin.tar.gz

View File

@ -14,14 +14,14 @@
# JAVA_ARCHIVE=/home/ivan/Downloads/jdk-8u102-linux-x64.tar.gz
#
# 3) Run this script. Note that the script will fail with error message if the
# 'JAVA_ARCHIVE' property is not set or if it points to invalid file.
# JAVA_ARCHIVE property is not set or if it points to invalid file.
set -e
. ../../common.sh
# Read the 'JAVA_ARCHIVE' property from '.config'
JAVA_ARCHIVE="$(grep -i ^JAVA_ARCHIVE $MAIN_SRC_DIR/.config | cut -f2 -d'=')"
JAVA_ARCHIVE=`read_property JAVA_ARCHIVE`
if [ "$JAVA_ARCHIVE" = "" ] ; then
echo "ERROR: configuration property 'JAVA_ARCHIVE' is not set."

View File

@ -0,0 +1,2 @@
glibc_full
zlib