logo MSJO.kr

macOS, OpenJDK 11 설치

2018-12-17
MsJ

Oracle JDK와 Open JDK 라이선스 논쟁에 따라 OpenJDK를 사용하기로 결정. 다운로드 후 기존 Oracle JDK를 삭제하고 OpenJDK 설치.

# How to uninstall Java JDK
$> sudo rm -rf /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
$> sudo rm -rf /Library/PreferencePanes/JavaControlPanel.prefPane
$> sudo rm -rf ~/Library/Application\ Support/Oracle/Java
$> cd /Library/Java/JavaVirtualMachines
$> sudo rm -rf jdk-x.x.x.jdk

# Install OpenJDK
$> cd /Library/Java/JavaVirtualMachines
$> sudo cp -R ~/Downloads/jdk-11.x.x.jdk .

Prεv   Nεxt
Content
Search     RSS Feed     BY-NC-ND