From 1e92d673e6f0fccee2bdb0e76d1593e228e87bc2 Mon Sep 17 00:00:00 2001 From: 8ga Date: Fri, 10 Jan 2025 14:51:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20ubuntu-java-home.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ubuntu-java-home.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ubuntu-java-home.sh b/ubuntu-java-home.sh index f79ec5f..9e0c46e 100644 --- a/ubuntu-java-home.sh +++ b/ubuntu-java-home.sh @@ -1,3 +1,4 @@ +#!/bin/bash echo "export JAVA_HOME=/usr/local/jdk1.8.0_202" | tee -a /etc/profile echo "export PATH=$PATH:/usr/local/jdk1.8.0_202/bin" | tee -a /etc/profile source /etc/profile