-
-
Save wuriyanto48/d64cccbd1369cb186070595ed0dd94f5 to your computer and use it in GitHub Desktop.
How to install openJDK 11 on macOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -C - https://download.java.net/java/ga/jdk11/openjdk-11_osx-x64_bin.tar.gz -O openjdk-11_osx-x64_bin.tar.gz | |
$ tar xf openjdk-11_osx-x64_bin.tar.gz | |
$ sudo mv jdk-11.jdk /Library/Java/JavaVirtualMachines/ | |
$ java -version | |
openjdk version "11" 2018-09-25 | |
OpenJDK Runtime Environment 18.9 (build 11+28) | |
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment