updated install-java.sh

This commit is contained in:
marvzhang
2020-03-05 08:09:12 +08:00
parent e24f4fced7
commit 9e24d22ee1
5 changed files with 21 additions and 4 deletions

3
backend/scripts/install-java.sh Normal file → Executable file
View File

@@ -4,8 +4,7 @@
touch /tmp/install-java.lock
# install java
apt-get update
apt-get install -y default-jdk
apt-get update && apt-get install -y default-jdk
ln -s /usr/bin/java /usr/local/bin/java
# unlock