BREW 썸네일형 리스트형 OSX Brew로 Java 설치 OSX Sonoma에서 Brew로 Java 설치 brew install openjdk@17sudo ln -sfn /usr/local/opt/openjdk@17/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk-17.jdkecho 'export PATH="/usr/local/opt/openjdk@17/bin:$PATH"' >> ~/.zshrcecho 'export CPPFLAGS="-I/usr/local/opt/openjdk@17/include"' >> ~/.zshrcecho 'export JAVA_HOME_17="/usr/local/opt/openjdk@17"' >> ~/.zshrcexec $SHELL 더보기 이전 1 다음