diff --git a/arthas-tutorials-cn/arthas-advanced/foreground.sh b/arthas-tutorials-cn/arthas-advanced/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/arthas-advanced/foreground.sh +++ b/arthas-tutorials-cn/arthas-advanced/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/arthas-basics/foreground.sh b/arthas-tutorials-cn/arthas-basics/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/arthas-basics/foreground.sh +++ b/arthas-tutorials-cn/arthas-basics/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/case/async-jobs/foreground.sh b/arthas-tutorials-cn/case/async-jobs/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/case/async-jobs/foreground.sh +++ b/arthas-tutorials-cn/case/async-jobs/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/case/boot-details/foreground.sh b/arthas-tutorials-cn/case/boot-details/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/case/boot-details/foreground.sh +++ b/arthas-tutorials-cn/case/boot-details/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/case/get-spring-context/foreground.sh b/arthas-tutorials-cn/case/get-spring-context/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/case/get-spring-context/foreground.sh +++ b/arthas-tutorials-cn/case/get-spring-context/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/case/http-401/foreground.sh b/arthas-tutorials-cn/case/http-401/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/case/http-401/foreground.sh +++ b/arthas-tutorials-cn/case/http-401/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/case/http-api/foreground.sh b/arthas-tutorials-cn/case/http-api/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/case/http-api/foreground.sh +++ b/arthas-tutorials-cn/case/http-api/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/case/jad-mc-redefine/foreground.sh b/arthas-tutorials-cn/case/jad-mc-redefine/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/case/jad-mc-redefine/foreground.sh +++ b/arthas-tutorials-cn/case/jad-mc-redefine/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/case/logger-config-problem/foreground.sh b/arthas-tutorials-cn/case/logger-config-problem/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/case/logger-config-problem/foreground.sh +++ b/arthas-tutorials-cn/case/logger-config-problem/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/case/ognl-practise/foreground.sh b/arthas-tutorials-cn/case/ognl-practise/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/case/ognl-practise/foreground.sh +++ b/arthas-tutorials-cn/case/ognl-practise/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/case/ognl-update-logger-level/foreground.sh b/arthas-tutorials-cn/case/ognl-update-logger-level/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/case/ognl-update-logger-level/foreground.sh +++ b/arthas-tutorials-cn/case/ognl-update-logger-level/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/case/save-log/foreground.sh b/arthas-tutorials-cn/case/save-log/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/case/save-log/foreground.sh +++ b/arthas-tutorials-cn/case/save-log/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/case/spring-classloader/foreground.sh b/arthas-tutorials-cn/case/spring-classloader/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/case/spring-classloader/foreground.sh +++ b/arthas-tutorials-cn/case/spring-classloader/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/case/thread-case/foreground.sh b/arthas-tutorials-cn/case/thread-case/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/case/thread-case/foreground.sh +++ b/arthas-tutorials-cn/case/thread-case/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/case/watch-method-exception/foreground.sh b/arthas-tutorials-cn/case/watch-method-exception/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/case/watch-method-exception/foreground.sh +++ b/arthas-tutorials-cn/case/watch-method-exception/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/case/web-console/foreground.sh b/arthas-tutorials-cn/case/web-console/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/case/web-console/foreground.sh +++ b/arthas-tutorials-cn/case/web-console/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/cat/foreground.sh b/arthas-tutorials-cn/command/cat/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/cat/foreground.sh +++ b/arthas-tutorials-cn/command/cat/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/classloader/foreground.sh b/arthas-tutorials-cn/command/classloader/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/classloader/foreground.sh +++ b/arthas-tutorials-cn/command/classloader/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/cls/foreground.sh b/arthas-tutorials-cn/command/cls/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/cls/foreground.sh +++ b/arthas-tutorials-cn/command/cls/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/dashboard/foreground.sh b/arthas-tutorials-cn/command/dashboard/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/dashboard/foreground.sh +++ b/arthas-tutorials-cn/command/dashboard/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/dump/foreground.sh b/arthas-tutorials-cn/command/dump/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/dump/foreground.sh +++ b/arthas-tutorials-cn/command/dump/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/echo/foreground.sh b/arthas-tutorials-cn/command/echo/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/echo/foreground.sh +++ b/arthas-tutorials-cn/command/echo/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/getstatic/foreground.sh b/arthas-tutorials-cn/command/getstatic/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/getstatic/foreground.sh +++ b/arthas-tutorials-cn/command/getstatic/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/grep/foreground.sh b/arthas-tutorials-cn/command/grep/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/grep/foreground.sh +++ b/arthas-tutorials-cn/command/grep/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/heapdump/foreground.sh b/arthas-tutorials-cn/command/heapdump/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/heapdump/foreground.sh +++ b/arthas-tutorials-cn/command/heapdump/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/help/foreground.sh b/arthas-tutorials-cn/command/help/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/help/foreground.sh +++ b/arthas-tutorials-cn/command/help/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/history/foreground.sh b/arthas-tutorials-cn/command/history/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/history/foreground.sh +++ b/arthas-tutorials-cn/command/history/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/jad/foreground.sh b/arthas-tutorials-cn/command/jad/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/jad/foreground.sh +++ b/arthas-tutorials-cn/command/jad/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/jfr/foreground.sh b/arthas-tutorials-cn/command/jfr/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/jfr/foreground.sh +++ b/arthas-tutorials-cn/command/jfr/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/jvm/foreground.sh b/arthas-tutorials-cn/command/jvm/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/jvm/foreground.sh +++ b/arthas-tutorials-cn/command/jvm/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/keymap/foreground.sh b/arthas-tutorials-cn/command/keymap/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/keymap/foreground.sh +++ b/arthas-tutorials-cn/command/keymap/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/logger/foreground.sh b/arthas-tutorials-cn/command/logger/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/logger/foreground.sh +++ b/arthas-tutorials-cn/command/logger/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/mbean/foreground.sh b/arthas-tutorials-cn/command/mbean/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/mbean/foreground.sh +++ b/arthas-tutorials-cn/command/mbean/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/mc-redefine/foreground.sh b/arthas-tutorials-cn/command/mc-redefine/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/mc-redefine/foreground.sh +++ b/arthas-tutorials-cn/command/mc-redefine/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/mc-retransform/foreground.sh b/arthas-tutorials-cn/command/mc-retransform/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/mc-retransform/foreground.sh +++ b/arthas-tutorials-cn/command/mc-retransform/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/monitor/foreground.sh b/arthas-tutorials-cn/command/monitor/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/monitor/foreground.sh +++ b/arthas-tutorials-cn/command/monitor/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/ognl/foreground.sh b/arthas-tutorials-cn/command/ognl/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/ognl/foreground.sh +++ b/arthas-tutorials-cn/command/ognl/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/options/foreground.sh b/arthas-tutorials-cn/command/options/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/options/foreground.sh +++ b/arthas-tutorials-cn/command/options/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/perfcounter/foreground.sh b/arthas-tutorials-cn/command/perfcounter/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/perfcounter/foreground.sh +++ b/arthas-tutorials-cn/command/perfcounter/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/plaintext/foreground.sh b/arthas-tutorials-cn/command/plaintext/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/plaintext/foreground.sh +++ b/arthas-tutorials-cn/command/plaintext/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/profiler/foreground.sh b/arthas-tutorials-cn/command/profiler/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/profiler/foreground.sh +++ b/arthas-tutorials-cn/command/profiler/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/pwd/foreground.sh b/arthas-tutorials-cn/command/pwd/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/pwd/foreground.sh +++ b/arthas-tutorials-cn/command/pwd/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/quit-stop/foreground.sh b/arthas-tutorials-cn/command/quit-stop/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/quit-stop/foreground.sh +++ b/arthas-tutorials-cn/command/quit-stop/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/reset/foreground.sh b/arthas-tutorials-cn/command/reset/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/reset/foreground.sh +++ b/arthas-tutorials-cn/command/reset/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/sc/foreground.sh b/arthas-tutorials-cn/command/sc/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/sc/foreground.sh +++ b/arthas-tutorials-cn/command/sc/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/session/foreground.sh b/arthas-tutorials-cn/command/session/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/session/foreground.sh +++ b/arthas-tutorials-cn/command/session/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/sm/foreground.sh b/arthas-tutorials-cn/command/sm/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/sm/foreground.sh +++ b/arthas-tutorials-cn/command/sm/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/stack/foreground.sh b/arthas-tutorials-cn/command/stack/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/stack/foreground.sh +++ b/arthas-tutorials-cn/command/stack/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/sysenv/foreground.sh b/arthas-tutorials-cn/command/sysenv/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/sysenv/foreground.sh +++ b/arthas-tutorials-cn/command/sysenv/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/sysprop/foreground.sh b/arthas-tutorials-cn/command/sysprop/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/sysprop/foreground.sh +++ b/arthas-tutorials-cn/command/sysprop/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/tee/foreground.sh b/arthas-tutorials-cn/command/tee/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/tee/foreground.sh +++ b/arthas-tutorials-cn/command/tee/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/thread/foreground.sh b/arthas-tutorials-cn/command/thread/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/thread/foreground.sh +++ b/arthas-tutorials-cn/command/thread/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/trace/foreground.sh b/arthas-tutorials-cn/command/trace/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/trace/foreground.sh +++ b/arthas-tutorials-cn/command/trace/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/tt/foreground.sh b/arthas-tutorials-cn/command/tt/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/tt/foreground.sh +++ b/arthas-tutorials-cn/command/tt/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/version/foreground.sh b/arthas-tutorials-cn/command/version/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/version/foreground.sh +++ b/arthas-tutorials-cn/command/version/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/vmoption/foreground.sh b/arthas-tutorials-cn/command/vmoption/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/vmoption/foreground.sh +++ b/arthas-tutorials-cn/command/vmoption/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/vmtool/foreground.sh b/arthas-tutorials-cn/command/vmtool/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/vmtool/foreground.sh +++ b/arthas-tutorials-cn/command/vmtool/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/watch/foreground.sh b/arthas-tutorials-cn/command/watch/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/watch/foreground.sh +++ b/arthas-tutorials-cn/command/watch/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-cn/command/wc/foreground.sh b/arthas-tutorials-cn/command/wc/foreground.sh index 6b9b70aa5..ee51844ab 100644 --- a/arthas-tutorials-cn/command/wc/foreground.sh +++ b/arthas-tutorials-cn/command/wc/foreground.sh @@ -1,12 +1,11 @@ -echo "设置环境..." +echo "设置环境..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/arthas-advanced/foreground.sh b/arthas-tutorials-en/arthas-advanced/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/arthas-advanced/foreground.sh +++ b/arthas-tutorials-en/arthas-advanced/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/arthas-basics/foreground.sh b/arthas-tutorials-en/arthas-basics/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/arthas-basics/foreground.sh +++ b/arthas-tutorials-en/arthas-basics/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/case/async-jobs/foreground.sh b/arthas-tutorials-en/case/async-jobs/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/case/async-jobs/foreground.sh +++ b/arthas-tutorials-en/case/async-jobs/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/case/boot-details/foreground.sh b/arthas-tutorials-en/case/boot-details/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/case/boot-details/foreground.sh +++ b/arthas-tutorials-en/case/boot-details/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/case/get-spring-context/foreground.sh b/arthas-tutorials-en/case/get-spring-context/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/case/get-spring-context/foreground.sh +++ b/arthas-tutorials-en/case/get-spring-context/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/case/http-401/foreground.sh b/arthas-tutorials-en/case/http-401/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/case/http-401/foreground.sh +++ b/arthas-tutorials-en/case/http-401/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/case/http-api/foreground.sh b/arthas-tutorials-en/case/http-api/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/case/http-api/foreground.sh +++ b/arthas-tutorials-en/case/http-api/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/case/jad-mc-redefine/foreground.sh b/arthas-tutorials-en/case/jad-mc-redefine/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/case/jad-mc-redefine/foreground.sh +++ b/arthas-tutorials-en/case/jad-mc-redefine/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/case/logger-config-problem/foreground.sh b/arthas-tutorials-en/case/logger-config-problem/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/case/logger-config-problem/foreground.sh +++ b/arthas-tutorials-en/case/logger-config-problem/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/case/ognl-practise/foreground.sh b/arthas-tutorials-en/case/ognl-practise/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/case/ognl-practise/foreground.sh +++ b/arthas-tutorials-en/case/ognl-practise/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/case/ognl-update-logger-level/foreground.sh b/arthas-tutorials-en/case/ognl-update-logger-level/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/case/ognl-update-logger-level/foreground.sh +++ b/arthas-tutorials-en/case/ognl-update-logger-level/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/case/save-log/foreground.sh b/arthas-tutorials-en/case/save-log/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/case/save-log/foreground.sh +++ b/arthas-tutorials-en/case/save-log/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/case/spring-classloader/foreground.sh b/arthas-tutorials-en/case/spring-classloader/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/case/spring-classloader/foreground.sh +++ b/arthas-tutorials-en/case/spring-classloader/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/case/thread/foreground.sh b/arthas-tutorials-en/case/thread/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/case/thread/foreground.sh +++ b/arthas-tutorials-en/case/thread/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/case/watch-method-exception/foreground.sh b/arthas-tutorials-en/case/watch-method-exception/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/case/watch-method-exception/foreground.sh +++ b/arthas-tutorials-en/case/watch-method-exception/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/case/web-console/foreground.sh b/arthas-tutorials-en/case/web-console/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/case/web-console/foreground.sh +++ b/arthas-tutorials-en/case/web-console/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/cat/foreground.sh b/arthas-tutorials-en/command/cat/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/cat/foreground.sh +++ b/arthas-tutorials-en/command/cat/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/classloader/foreground.sh b/arthas-tutorials-en/command/classloader/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/classloader/foreground.sh +++ b/arthas-tutorials-en/command/classloader/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/cls/foreground.sh b/arthas-tutorials-en/command/cls/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/cls/foreground.sh +++ b/arthas-tutorials-en/command/cls/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/dashboard/foreground.sh b/arthas-tutorials-en/command/dashboard/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/dashboard/foreground.sh +++ b/arthas-tutorials-en/command/dashboard/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/dump/foreground.sh b/arthas-tutorials-en/command/dump/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/dump/foreground.sh +++ b/arthas-tutorials-en/command/dump/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/echo/foreground.sh b/arthas-tutorials-en/command/echo/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/echo/foreground.sh +++ b/arthas-tutorials-en/command/echo/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/getstatic/foreground.sh b/arthas-tutorials-en/command/getstatic/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/getstatic/foreground.sh +++ b/arthas-tutorials-en/command/getstatic/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/grep/foreground.sh b/arthas-tutorials-en/command/grep/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/grep/foreground.sh +++ b/arthas-tutorials-en/command/grep/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/heapdump/foreground.sh b/arthas-tutorials-en/command/heapdump/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/heapdump/foreground.sh +++ b/arthas-tutorials-en/command/heapdump/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/help/foreground.sh b/arthas-tutorials-en/command/help/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/help/foreground.sh +++ b/arthas-tutorials-en/command/help/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/history/foreground.sh b/arthas-tutorials-en/command/history/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/history/foreground.sh +++ b/arthas-tutorials-en/command/history/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/jad/foreground.sh b/arthas-tutorials-en/command/jad/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/jad/foreground.sh +++ b/arthas-tutorials-en/command/jad/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/jfr/foreground.sh b/arthas-tutorials-en/command/jfr/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/jfr/foreground.sh +++ b/arthas-tutorials-en/command/jfr/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/jvm/foreground.sh b/arthas-tutorials-en/command/jvm/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/jvm/foreground.sh +++ b/arthas-tutorials-en/command/jvm/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/keymap/foreground.sh b/arthas-tutorials-en/command/keymap/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/keymap/foreground.sh +++ b/arthas-tutorials-en/command/keymap/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/logger/foreground.sh b/arthas-tutorials-en/command/logger/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/logger/foreground.sh +++ b/arthas-tutorials-en/command/logger/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/mbean/foreground.sh b/arthas-tutorials-en/command/mbean/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/mbean/foreground.sh +++ b/arthas-tutorials-en/command/mbean/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/mc-redefine/foreground.sh b/arthas-tutorials-en/command/mc-redefine/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/mc-redefine/foreground.sh +++ b/arthas-tutorials-en/command/mc-redefine/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/mc-retransform/foreground.sh b/arthas-tutorials-en/command/mc-retransform/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/mc-retransform/foreground.sh +++ b/arthas-tutorials-en/command/mc-retransform/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/monitor/foreground.sh b/arthas-tutorials-en/command/monitor/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/monitor/foreground.sh +++ b/arthas-tutorials-en/command/monitor/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/ognl/foreground.sh b/arthas-tutorials-en/command/ognl/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/ognl/foreground.sh +++ b/arthas-tutorials-en/command/ognl/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/options/foreground.sh b/arthas-tutorials-en/command/options/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/options/foreground.sh +++ b/arthas-tutorials-en/command/options/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/perfcounter/foreground.sh b/arthas-tutorials-en/command/perfcounter/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/perfcounter/foreground.sh +++ b/arthas-tutorials-en/command/perfcounter/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/plaintext/foreground.sh b/arthas-tutorials-en/command/plaintext/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/plaintext/foreground.sh +++ b/arthas-tutorials-en/command/plaintext/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/profiler/foreground.sh b/arthas-tutorials-en/command/profiler/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/profiler/foreground.sh +++ b/arthas-tutorials-en/command/profiler/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/pwd/foreground.sh b/arthas-tutorials-en/command/pwd/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/pwd/foreground.sh +++ b/arthas-tutorials-en/command/pwd/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/quit-stop/foreground.sh b/arthas-tutorials-en/command/quit-stop/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/quit-stop/foreground.sh +++ b/arthas-tutorials-en/command/quit-stop/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/reset/foreground.sh b/arthas-tutorials-en/command/reset/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/reset/foreground.sh +++ b/arthas-tutorials-en/command/reset/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/sc/foreground.sh b/arthas-tutorials-en/command/sc/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/sc/foreground.sh +++ b/arthas-tutorials-en/command/sc/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/session/foreground.sh b/arthas-tutorials-en/command/session/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/session/foreground.sh +++ b/arthas-tutorials-en/command/session/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/sm/foreground.sh b/arthas-tutorials-en/command/sm/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/sm/foreground.sh +++ b/arthas-tutorials-en/command/sm/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/stack/foreground.sh b/arthas-tutorials-en/command/stack/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/stack/foreground.sh +++ b/arthas-tutorials-en/command/stack/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/sysenv/foreground.sh b/arthas-tutorials-en/command/sysenv/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/sysenv/foreground.sh +++ b/arthas-tutorials-en/command/sysenv/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/sysprop/foreground.sh b/arthas-tutorials-en/command/sysprop/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/sysprop/foreground.sh +++ b/arthas-tutorials-en/command/sysprop/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/tee/foreground.sh b/arthas-tutorials-en/command/tee/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/tee/foreground.sh +++ b/arthas-tutorials-en/command/tee/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/thread/foreground.sh b/arthas-tutorials-en/command/thread/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/thread/foreground.sh +++ b/arthas-tutorials-en/command/thread/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/trace/foreground.sh b/arthas-tutorials-en/command/trace/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/trace/foreground.sh +++ b/arthas-tutorials-en/command/trace/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/tt/foreground.sh b/arthas-tutorials-en/command/tt/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/tt/foreground.sh +++ b/arthas-tutorials-en/command/tt/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/version/foreground.sh b/arthas-tutorials-en/command/version/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/version/foreground.sh +++ b/arthas-tutorials-en/command/version/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/vmoption/foreground.sh b/arthas-tutorials-en/command/vmoption/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/vmoption/foreground.sh +++ b/arthas-tutorials-en/command/vmoption/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/vmtool/foreground.sh b/arthas-tutorials-en/command/vmtool/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/vmtool/foreground.sh +++ b/arthas-tutorials-en/command/vmtool/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/watch/foreground.sh b/arthas-tutorials-en/command/watch/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/watch/foreground.sh +++ b/arthas-tutorials-en/command/watch/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~ diff --git a/arthas-tutorials-en/command/wc/foreground.sh b/arthas-tutorials-en/command/wc/foreground.sh index 2b769a029..4b64ea0ed 100644 --- a/arthas-tutorials-en/command/wc/foreground.sh +++ b/arthas-tutorials-en/command/wc/foreground.sh @@ -1,12 +1,11 @@ echo "Setup environment..." -mkdir -p /home/local/java -cd /home/local/java -wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -tar -zxvf openjdk-11.0.1_linux-x64_bin.tar.gz -echo 'export JAVA_HOME=/home/local/java/jdk-11.0.1 -export PATH=$JAVA_HOME/bin:$PATH -export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> ~/.bashrc +mkdir -p /home/local/java/lite-jdk-linux-x86_64 +cd /home/local/java/lite-jdk-linux-x86_64 +wget https://github.com/hengyunabc/lite-jdk/releases/download/0.0.5/lite-jdk-11-linux-x86_64.tgz +tar -zxvf lite-jdk-11-linux-x86_64.tgz > /dev/null 2>&1 +echo 'export JAVA_HOME=/home/local/java/lite-jdk-linux-x86_64 +export PATH=$JAVA_HOME/bin:$PATH' >> ~/.bashrc source ~/.bashrc cd ~