mirror of https://github.com/axmolengine/axmol.git
Delete jdk setup on script [skip ci]
This commit is contained in:
parent
e6bf8c753d
commit
c241a418c9
|
@ -10,14 +10,6 @@ CURL="curl --retry 999 --retry-max-time 0"
|
|||
|
||||
function install_android_sdk()
|
||||
{
|
||||
# the since openjdk is free, refer to: https://openjdk.java.net/
|
||||
# download page: https://jdk.java.net/17/
|
||||
echo "Installing openjdk17 ..."
|
||||
curl https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/GPL/openjdk-17.0.2_linux-x64_bin.tar.gz -o ./openjdk-17.0.2_linux-x64_bin.tar.gz
|
||||
tar xzvf openjdk-17.0.2_linux-x64_bin.tar.gz
|
||||
export JAVA_HOME=`pwd`/jdk-17.0.2
|
||||
export PATH="$JAVA_HOME:$PATH"
|
||||
|
||||
echo "Installing android ndk ..."
|
||||
# sudo curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
|
||||
# sudo python get-pip.py
|
||||
|
|
Loading…
Reference in New Issue