Verification
Description of issue
I installed the JD-GUI cask but the Java runtime dependency was not installed:
ERROR launching 'JD-GUI'
No suitable Java version found on your system!
This program requires Java 1.8+
Make sure you install the required Java version.
The formula does not reference the dependency on Java.
It should probably have a caveats clause with depends_on_java, but this isn't sufficient.
I did already have the temurin package, version 20.0.2,9 installed, which didn't seem to work, nor did upgrading to 21.0.1,12.
Command that failed
brew install --cask jd-gui
Output of command with --verbose --debug
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading jd-gui
==> Cask::Installer#install
==> Printing caveats
==> Cask::Installer#fetch
==> Downloading https://github.com/java-decompiler/jd-gui/releases/download/v1.6.6/jd-gui-osx-1.6.6.tar
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.1.24\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 14.1.2\)\ curl/8.1.2 --header Accept-Language:\ en --retry 3 --fail --location --silent --head https://github.com/java-decompiler/jd-gui/releases/download/v1.6.6/jd-gui-osx-1.6.6.tar
Already downloaded: /Users/rzg/Library/Caches/Homebrew/downloads/fe7da8805b9556958179f399831e79761541d4d21930d561151f4d1832444a30--jd-gui-osx-1.6.6.tar
==> Checking quarantine support
/usr/bin/env /usr/bin/xattr -h
/usr/bin/env /usr/bin/swift -target arm64-apple-macosx14 /opt/homebrew/Library/Homebrew/cask/utils/quarantine.swift
==> Quarantine is available.
==> Verifying Gatekeeper status of /Users/rzg/Library/Caches/Homebrew/downloads/fe7da8805b9556958179f399831e79761541d4d21930d561151f4d1832444a30--jd-gui-osx-1.6.6.tar
/usr/bin/env /usr/bin/xattr -p com.apple.quarantine /Users/rzg/Library/Caches/Homebrew/downloads/fe7da8805b9556958179f399831e79761541d4d21930d561151f4d1832444a30--jd-gui-osx-1.6.6.tar
==> /Users/rzg/Library/Caches/Homebrew/downloads/fe7da8805b9556958179f399831e79761541d4d21930d561151f4d1832444a30--jd-gui-osx-1.6.6.tar is quarantined
==> Verifying checksum for 'fe7da8805b9556958179f399831e79761541d4d21930d561151f4d1832444a30--jd-gui-osx-1.6.6.tar'
==> Installing Cask jd-gui
==> Cask::Installer#stage
==> Extracting primary container
==> Using container class UnpackStrategy::Tar for /Users/rzg/Library/Caches/Homebrew/downloads/fe7da8805b9556958179f399831e79761541d4d21930d561151f4d1832444a30--jd-gui-osx-1.6.6.tar
/usr/bin/env tar --extract --no-same-owner --file /Users/rzg/Library/Caches/Homebrew/downloads/fe7da8805b9556958179f399831e79761541d4d21930d561151f4d1832444a30--jd-gui-osx-1.6.6.tar --directory /private/tmp/d20231205-25230-3o0o9
/usr/bin/env cp -pR /private/tmp/d20231205-25230-3o0o9/jd-gui-osx-1.6.6/. /opt/homebrew/Caskroom/jd-gui/1.6.6/jd-gui-osx-1.6.6
==> Verifying Gatekeeper status of /Users/rzg/Library/Caches/Homebrew/downloads/fe7da8805b9556958179f399831e79761541d4d21930d561151f4d1832444a30--jd-gui-osx-1.6.6.tar
/usr/bin/env /usr/bin/xattr -p com.apple.quarantine /Users/rzg/Library/Caches/Homebrew/downloads/fe7da8805b9556958179f399831e79761541d4d21930d561151f4d1832444a30--jd-gui-osx-1.6.6.tar
==> /Users/rzg/Library/Caches/Homebrew/downloads/fe7da8805b9556958179f399831e79761541d4d21930d561151f4d1832444a30--jd-gui-osx-1.6.6.tar is quarantined
==> Propagating quarantine from /Users/rzg/Library/Caches/Homebrew/downloads/fe7da8805b9556958179f399831e79761541d4d21930d561151f4d1832444a30--jd-gui-osx-1.6.6.tar to /opt/homebrew/Caskroom/jd-gui/1.6.6
/usr/bin/env /usr/bin/xattr -p com.apple.quarantine /Users/rzg/Library/Caches/Homebrew/downloads/fe7da8805b9556958179f399831e79761541d4d21930d561151f4d1832444a30--jd-gui-osx-1.6.6.tar
/usr/bin/env /usr/bin/xargs -0 -- /bin/chmod -h u+w
/usr/bin/env /usr/bin/xargs -0 -- /usr/bin/xattr -w com.apple.quarantine 0181\;65700b6f\;Homebrew\\x20Cask\;42FD67D0-1EA5-4F31-AEBC-4D2EAE6DDA76
==> Creating metadata directory: /opt/homebrew/Caskroom/jd-gui/.metadata/1.6.6/20231206055353.462
==> Creating metadata subdirectory: /opt/homebrew/Caskroom/jd-gui/.metadata/1.6.6/20231206055353.462/Casks
==> Installing artifacts
==> Installing artifact of class Cask::Artifact::App
==> Moving App 'JD-GUI.app' to '/Applications/JD-GUI.app'
🍺 jd-gui was successfully installed!
Output of brew doctor and brew config
HOMEBREW_VERSION: 4.1.24
ORIGIN: https://github.com/Homebrew/brew
HEAD: ab6a7ed5a122b6d4f9d441ef76c86032398ced5f
Last commit: 5 hours ago
Core tap origin: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 96429d0c4d7356e72396b83523ea4c74a4eb3253
Core tap last commit: 7 months ago
Core tap branch: colmap
Core tap JSON: 06 Dec 05:48 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.Bk40vCSTFO/org.xquartz:0
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_MAKE_JOBS: 10
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 3.1.4 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby
CPU: 10-core 64-bit arm_firestorm_icestorm
Clang: 15.0.0 build 1500
Git: 2.39.3 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 8.1.2 => /usr/bin/curl
macOS: 14.1.2-arm64
CLT: 15.0.0.0.1.1694021235
Xcode: 15.0.1
Rosetta 2: false
Output of brew tap
homebrew/cask
homebrew/core
homebrew/services
smokris/getwindowid
yt-dlp/taps
Verification
--force.brew update-reset && brew updateand retried my command.brew doctor, fixed as many issues as possible and retried my command.Description of issue
I installed the JD-GUI cask but the Java runtime dependency was not installed:
The formula does not reference the dependency on Java.
It should probably have a
caveatsclause withdepends_on_java, but this isn't sufficient.I did already have the
temurinpackage, version20.0.2,9installed, which didn't seem to work, nor did upgrading to21.0.1,12.Command that failed
brew install --cask jd-gui
Output of command with
--verbose --debugOutput of
brew doctorandbrew configOutput of
brew tap