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