Removed -y flag in apt command

Someone could copy paste it and with the y flag it would automatically install. It’s Java on Ubuntu so it’s probably fine, but it’s a bad precedent to have commands that change so much in a users system without them explicitly approving. 

This is an opinion.
pull/611/head
keblek 3 years ago committed by GitHub
parent 88f822a3c7
commit 7682acb7d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -840,7 +840,7 @@ The required Java compiler is part of OpenJDK 11. We will also need a build fram
On a Debian/Ubuntu Linux system we can use the +apt+ command to install both OpenJDK11 and Maven as shown below:
----
$ sudo apt install -y openjdk-11-jdk maven
$ sudo apt install openjdk-11-jdk maven
----
Verify that you have the correct version installed by running:

Loading…
Cancel
Save