3 sha256 "7308a15d054d07d504f616416b3622d153c3cc63906441a5730ca1f9d4a43854"
5 url "https://github.com/AdoptOpenJDK/openjdk#{version.major}-binaries/releases/download/jdk-#{version.csv.first}%2B#{version.csv.second}/OpenJDK#{version.major}U-jdk_x64_mac_hotspot_#{version.csv.first}_#{version.csv.second.major}.pkg",
6 verified: "github.com/AdoptOpenJDK/"
7 name "AdoptOpenJDK Java Development Kit"
8 desc "JDK from the Java User Group (JUG)"
9 homepage "https://adoptopenjdk.net/"
11 deprecate! date: "2023-12-17", because: :discontinued
13 pkg "OpenJDK#{version.major}U-jdk_x64_mac_hotspot_#{version.csv.first}_#{version.csv.second.major}.pkg"
15 uninstall pkgutil: "net.adoptopenjdk.#{version.major}.jdk"
18 "~/Library/Saved Application State/net.java.openjdk.*.java.savedState",
19 "~/Library/Saved Application State/net.java.openjdk.cmd.savedState",
20 "~/Library/Saved Application State/net.java.openjdk.java.savedState",
26 Temurin is the official successor to this software:
28 brew install --cask temurin