mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-26 16:45:57 +03:00
[GH-ISSUE #737] install-certificates-java.sh Doesn't work with JVMs installed via SDKMAN #732
Labels
No labels
Discussion
Feature request
In Progress...
Plugins
Waiting response
Windows
Windows
bug
duplicate
enhancement
feature
good first issue
iOS
macOS 10.11
question
wontfix
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxyman#732
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jeremyross on GitHub (Dec 22, 2020).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/737
Originally assigned to: @NghiaTranUIT on GitHub.
Proxyman version? 2.15.0 (21500)
macOS Version? 10.15.7 (
Steps to reproduce
Expected behavior
Installs cert into JVM
/usr/libexec/java_homeonly returns JVMs installed by Mac OS. SDKMAN is a popular alternative way of installing and managing JVMs. I was able to modify install-certificates-java.sh and get this working:A better solution would be to take into account
/usr/libexec/java_home, SDKMAN, and probably homebrew installs as well.@NghiaTranUIT commented on GitHub (Dec 22, 2020):
Thanks for the solution. I will checkout the SDKMAN and support it 🙌
@NghiaTranUIT commented on GitHub (Dec 24, 2020):
It's fixed with this beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.15.1_Support_SDKMAN_JAVA.dmg
Thank you for opening the ticket 🎉
@jeremyross commented on GitHub (Aug 18, 2021):
This is not working. The script fails on this line:
with this message:
So, the script never gets to the part where it checks JAVA_HOME and SDKMAN.
@NghiaTranUIT commented on GitHub (Aug 19, 2021):
Thanks for getting back @jeremyross. I will revisit the script to see how to fix it 👍
If you don't mind, you can manually fix the script at
By removing the part:
It will work with the SDKMAN
@jamesdh commented on GitHub (Aug 28, 2022):
Pinging this issue to remind someone that it's still an issue. SDKMAN is a very popular tool among Java developers for installing modern JDK's.
@NghiaTranUIT commented on GitHub (Aug 29, 2022):
Thanks @jamesdh for reminder. I will look on it and send a beta soon 👍
Just wondering:
echo $SDKMAN_DIR@jamesdh commented on GitHub (Aug 29, 2022):
@NghiaTranUIT SDKMAN 5.16.0. It's worth mentioning that SDKMAN automatically keeps itself up to date, so most people that use it will be on either the newest version or maybe one version back.
Via the SDKMAN setup script,
SDKMAN_DIR="$HOME/.sdkman", hence in my case on macOS it's/Users/jamesdh/.sdkman@NghiaTranUIT commented on GitHub (Aug 30, 2022):
Hey @jamesdh let's try this beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_3.8.0_Fix_sdkman.dmg
It works fine with sdkman 👍
@jamesdh commented on GitHub (Sep 1, 2022):
@NghiaTranUIT if I do
brew uninstall proxymanwill that sufficiently remove any previously installed certificates so that I can retry the install w/ your beta build?@NghiaTranUIT commented on GitHub (Sep 1, 2022):
Yes, it's sufficient. It will delete all Proxyman data, certificate in the disk + Keychain (Ref:
github.com/Homebrew/homebrew-cask@212b287c3e/Casks/proxyman.rb (L20))You can simply do it by the GUI: Visit Help Menu -> Advanced -> Factory Reset.
Note: It's
brew uninstall proxyman, notproximal✅@jamesdh commented on GitHub (Sep 1, 2022):
@NghiaTranUIT can confirm it appears fixed!
@karljamoralin commented on GitHub (Dec 10, 2024):
Hi @NghiaTranUIT ! Is the fix for this already in one of the stable releases?Yes, it works with version5.11.0