Skip to content

Commit

Permalink
Removed older non-LTS versions from docs (#254)
Browse files Browse the repository at this point in the history
To discourage their use.
  • Loading branch information
freemanjp committed Sep 25, 2021
1 parent 5591861 commit 0305c50
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ are shown below):

```yaml
# Java version number
# Specify '8', '9', '10', '11', '12', '13', '14', '15', '16' or '17' to get the
# latest patch version of that release.
# Specify '8', '11', '16' or '17' to get the latest patch version of that
# release.
java_version: '11.0.12+7'

# Base installation directory for any Java distribution
Expand Down Expand Up @@ -135,7 +135,7 @@ You can install a specific version of the JDK by specifying the `java_version`.
running the following command:

```bash
for ((i = 8; i <= 17; i++)) do (curl --silent http \
for i in 8 11 16 17; do (curl --silent http \
"https://api.adoptopenjdk.net/v3/assets/feature_releases/$i/ga?\
architecture=x64&heap_size=normal&image_type=jdk&jvm_impl=hotspot&\
os=linux&project=jdk&sort_order=DESC&vendor=adoptopenjdk" \
Expand Down
4 changes: 2 additions & 2 deletions defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# Java version number
# Specify '8', '9', '10', '11', '12', '13', '14', '15', '16' or '17' to get the
# latest patch version of that release.
# Specify '8', '11', '16' or '17' to get the latest patch version of that
# release.
java_version: '11.0.12+7'

# Base installation directory for any Java distribution
Expand Down

0 comments on commit 0305c50

Please sign in to comment.