Removing JAVA_HOLE

This commit is contained in:
sergiotarxz 2022-05-12 05:39:41 +02:00
parent cdd8d6d70e
commit 75d779eca5

View File

@ -11,8 +11,6 @@ TERMUX_NDK_VERSION=$TERMUX_NDK_VERSION_NUM$TERMUX_NDK_REVISION
# update SHA256 sums in scripts/setup-android-sdk.sh # update SHA256 sums in scripts/setup-android-sdk.sh
# check all packages build and run correctly and bump if needed # check all packages build and run correctly and bump if needed
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
if [ "${TERMUX_PACKAGES_OFFLINE-false}" = "true" ]; then if [ "${TERMUX_PACKAGES_OFFLINE-false}" = "true" ]; then
export ANDROID_HOME=${TERMUX_SCRIPTDIR}/build-tools/android-sdk-$TERMUX_SDK_REVISION export ANDROID_HOME=${TERMUX_SCRIPTDIR}/build-tools/android-sdk-$TERMUX_SDK_REVISION
export NDK=${TERMUX_SCRIPTDIR}/build-tools/android-ndk-r${TERMUX_NDK_VERSION} export NDK=${TERMUX_SCRIPTDIR}/build-tools/android-ndk-r${TERMUX_NDK_VERSION}