зеркало из
https://github.com/iharh/notes.git
synced 2025-10-29 04:44:18 +02:00
12 строки
544 B
Plaintext
12 строки
544 B
Plaintext
For the system Java wrappers to find this JDK, symlink it with
|
|
sudo ln -sfn /usr/local/opt/openjdk@11/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk-11.jdk
|
|
|
|
openjdk@11 is keg-only, which means it was not symlinked into /usr/local,
|
|
because this is an alternate version of another formula.
|
|
|
|
If you need to have openjdk@11 first in your PATH, run:
|
|
echo 'export PATH="/usr/local/opt/openjdk@11/bin:$PATH"' >> ~/.zshrc
|
|
|
|
For compilers to find openjdk@11 you may need to set:
|
|
export CPPFLAGS="-I/usr/local/opt/openjdk@11/include"
|