fix(macos): java symlinks & path
This commit is contained in:
parent
a8c2ae654d
commit
07a033c8a4
2 changed files with 8 additions and 0 deletions
|
@ -30,6 +30,10 @@ brew unlink gnupg
|
|||
|
||||
flutter --disable-analytics
|
||||
|
||||
# Properly symlink openjdk java
|
||||
# See https://formulae.brew.sh/formula/openjdk
|
||||
sudo ln -sfn $HOMEBREW_PREFIX/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk
|
||||
|
||||
# Enable corepack
|
||||
corepack enable
|
||||
|
||||
|
|
|
@ -11,3 +11,7 @@ export PATH="$HOME/.node/bin:$PATH"
|
|||
|
||||
# Load dotfiles binaries for macos
|
||||
export PATH="$DOTFILES/macos/bin:$PATH"
|
||||
|
||||
# Add Java binaries to path
|
||||
# provides all openjdk binaries, otherwise some are not available
|
||||
export PATH="/opt/homebrew/opt/openjdk/bin:$PATH"
|
||||
|
|
Loading…
Add table
Reference in a new issue