Corretto: Difference between revisions
Jump to navigation
Jump to search
(→Mac) |
(→Mac) |
||
Line 8: | Line 8: | ||
==Mac== | ==Mac== | ||
{{External|https://docs.aws.amazon.com/corretto/latest/corretto-11-ug/macos-install.html}} | {{External|https://docs.aws.amazon.com/corretto/latest/corretto-11-ug/macos-install.html}} | ||
<syntaxhighlight lang='bash'> | |||
sudo installer -pkg ./amazon-corretto-11.0.9.12.1-macosx-x64.pkg -target / | |||
</syntaxhighlight lang='bash'> | |||
Once the installation completes, the JDK is found in /Library/Java/JavaVirtualMachines/. | Once the installation completes, the JDK is found in /Library/Java/JavaVirtualMachines/. |
Revision as of 23:45, 29 December 2020
External
Internal
Installation
Mac
<syntaxhighlight lang='bash'> sudo installer -pkg ./amazon-corretto-11.0.9.12.1-macosx-x64.pkg -target / </syntaxhighlight lang='bash'>
Once the installation completes, the JDK is found in /Library/Java/JavaVirtualMachines/.
Linux
Download the tar.gz and gunzip | tar.
Docker Image
https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/docker-install.html