更新 ubuntu-java-home.sh
This commit is contained in:
parent
b913ffe60d
commit
1e92d673e6
@ -1,3 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
echo "export JAVA_HOME=/usr/local/jdk1.8.0_202" | tee -a /etc/profile
|
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
|
echo "export PATH=$PATH:/usr/local/jdk1.8.0_202/bin" | tee -a /etc/profile
|
||||||
source /etc/profile
|
source /etc/profile
|
||||||
|
Loading…
Reference in New Issue
Block a user