Open wimdavies opened 3 months ago
Hi @wimdavies can I just check, is this homebrew on Mac OS? If so which version of MacOS
Hi @wimdavies can I just check, is this homebrew on Mac OS? If so which version of MacOS
Sorry for neglecting to include this information. Yes, this is homebrew on macOS, Sonoma 14.6.1.
Still need some time to look into this better, just out of curiosity, could you try this older version:
brew install jabba@0.12.1
and let me know if it works
Edit: Ignore this actually, 0.12.1 wasn't available on homebrew
Hi @wimdavies, the homebrew installer works differently to the install script, and so misses some of shell integration steps the script does, can you try adding:
[ -s "$HOMEBREW_PREFIX/opt/jabba/jabba.sh" ] && . "$HOMEBREW_PREFIX/opt/jabba/jabba.sh"
to your .zshrc on Mac (assuming you've not changed your shell from the default zsh)
Similar situation to #37. I originally installed jabba via homebrew. I could successfully
jabba install
multiple java versions, butjabba use
had no effect on JAVA_HOME and the output ofjabba current
was nothing.After running
brew uninstall jabba
and re-installing Jabba directly via curl,jabba use
now successfully sets an installed java version.