adoptium / adoptium.net

Adoptium Website
https://adoptium.net
Apache License 2.0
20 stars 114 forks source link

macOS install instructions error: homebrew doesn't necessarily install LTS version #2816

Open ElhemEnohpi opened 5 months ago

ElhemEnohpi commented 5 months ago

Describe the bug The web page at https://adoptium.net/installation/ in the "macOS (Homebrew)" tab shows:

# Install the latest LTS version
$  brew install --cask temurin

But this command installs the latest release version, which may or may not be LTS. Currently, it's 22, which isn't. I believe the text comes from src/components/InstallTabs/MacOSPanel/index.tsx

You have to figure out what the latest LTS version is (21), and follow the instructions below that for "install a specific version". For example:

$  brew tap homebrew/cask-versions
$  brew install --cask temurin21

Also, the uninstall instructions have an error:

# Uninstall a specific version
$  brew uninstall --cask temurin

But this command only uninstalls the latest release version if you've installed that; otherwise, it givesError: Cask 'temurin' is not installed. If you've installed a specific version, e.g. temurin21, you need to use that, i.e. $ brew uninstall --cask temurin21.