-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jd-gui does not run since Big Sur #161798
Comments
The main executable for JD-GUI is the script at The script reads the It's unclear to me if |
It's hacky but I changed the required Java version to 21 to see if it would run with the newer JRE. I quickly hit this exception, but the workaround of adding In summary, this program is broken on modern macOS, but can be fixed with some patches to the included While the project is very useful and ought to remain in Homebrew, unfortunately it is not actively maintained, so this workaround would have to be implemented in the formula. |
@rgov |
That's a fair point, I didn't think about casks not being patched. |
Unfortunately maybe that means the cask should be pulled. It doesn't run as-is. |
Looks like there hasn't been an update in 4 years (last release 2019-12-25). If this is broken without a reasonable workaround and it affects everyone who uses it, I could support removal. @rgov - since you know more than we do in this instance, when you say it "doesn't run as-is", can you help us understand the breadth of non-functionality? Would it be all recent macOS versions, all Intel, ARM, etc? We only want to pull if this is legitimately broken for an overwhelming majority of users who would download it. |
I believe it has been broken since Big Sur, and that this brokenness affects both architectures. This is based on GitHub issues filed to the project since 2020 that match my investigation above. |
It looks like the cask is quite popular ~5,000 downloads in the last year. So it's interesting that this is the first report we have seen of it being non-functional. |
https://github.com/java-decompiler/jd-gui/issues?q=is%3Aissue+%22Mac%22+OR+%22macOS%22+OR+%22OS+X%22+OR+%22osx%22+ Most of the recent ones refer to how I agree it's a very useful tool and it's a shame to drop it. I think the formula could be converted to a non-cask formula that builds it with the necessary patches applied -- if it is kosher to build .app bundles like this one would. I installed JDK 8 using I spent a little bit trying to get it to build with Temurin 21, but it doesn't seem to be able to run the old Gradle, and it requires too many build script changes to support newer Gradle. |
I'm using macOS Sonoma 14.3 and JD-GUI itself appears to be able to run if invoked directly via |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
I investigated this issue and noticed that the MainClass is not properly defined in the main JD-GUI project, leading to this issue. |
@sonique6784 I cannot reopen the issue. The Homebrew team cannot do much more than decide whether to remove the formula. The JD-GUI author is unresponsive so we cannot get PRs merged there, either. |
Verification
--force
.brew update-reset && brew update
and 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
caveats
clause withdepends_on_java
, but this isn't sufficient.I did already have the
temurin
package, version20.0.2,9
installed, 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 --debug
Output of
brew doctor
andbrew config
Output of
brew tap
The text was updated successfully, but these errors were encountered: