From b21a4e6cda3e9377d81f0604fd5d94002e5cd5c4 Mon Sep 17 00:00:00 2001 From: donny Date: Mon, 1 Nov 2021 06:57:53 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'java8-install.sh'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- java8-install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/java8-install.sh b/java8-install.sh index d3d1f21..f9d55e0 100644 --- a/java8-install.sh +++ b/java8-install.sh @@ -11,4 +11,6 @@ cd /usr/local && tar -zxvf jdk-8u311-linux-x64.tar.gz -C /usr/local echo export JAVA_HOME=/usr/local/jdk1.8.0_311>>/etc/profile +source /etc/profile + java -version \ No newline at end of file