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