Skip to content

Commit

Permalink
Updated installer to install the latest version of java available fro…
Browse files Browse the repository at this point in the history
…m the apt repos #70
  • Loading branch information
anon8675309@localhost authored and Scrin committed Aug 1, 2022
1 parent a8e174d commit 293956b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion service-setup/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,11 @@ scriptpath=`dirname $abspath`
cd $scriptpath/..
pwd

apt install -y git maven openjdk-8-jdk-headless
apt install -y git maven
# Install the latest JDK that is available
apt install -y openjdk-17-jdk-headless || \
apt install -y openjdk-11-jdk-headless || \
apt install -y openjdk-8-jdk-headless
mvn clean package

mkdir -p /opt/ruuvicollector
Expand Down

0 comments on commit 293956b

Please sign in to comment.