DZone
Java Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Java Zone > Amazon Corretto 8

Amazon Corretto 8

Want to learn more about the Amazon distribution of the OpenJDK?

Ivar Grimstad user avatar by
Ivar Grimstad
·
Feb. 04, 19 · Java Zone · News
Like (10)
Save
Tweet
12.90K Views

Join the DZone community and get the full member experience.

Join For Free

Amazon Corretto is a production-ready distribution of OpenJDK with long-term support including performance and security updates provided by Amazon.

Amazon Corretto is now Generally Available.Amazon Corretto is now Generally Available.
AWS Open Source@AWSOpen

Amazon Corretto 8, our no-cost, multiplatform, production-ready distribution of OpenJDK, is now Generally Available. Read all about what's new, including support for additional platforms, at: https://amzn.to/2WuYbgY Download #corretto from https://amzn.to/2Wz2pEd

160 4:37 PM - Jan 31, 2019

Amazon provides installation packages and instructions for Linux, Windows, and macOS, as well as a Docker. The latest installation package is based on OpenJDK version 1.8.0_202:

$ java -version
openjdk version "1.8.0_202"
OpenJDK Runtime Environment Corretto-8.202.08.2 (build 1.8.0_202-b08)
OpenJDK 64-Bit Server VM Corretto-8.202.08.2 (build 25.202-b08, mixed mode)
$


If you don’t want to or aren't able to install Corretto on your workstation, it is pretty straightforward to try it out using Docker:

$ docker build -t amazon-corretto-8 github.com/corretto/corretto-8-docker
Sending build context to Docker daemon  92.67kB
Step 1/2 : FROM amazonlinux:2
 ---> 2467e0b1e917
Step 2/2 : RUN yum -y update  && amazon-linux-extras enable corretto8  && yum -y install java-1.8.0-amazon-corretto-devel  && yum clean all
 ---> Using cache
 ---> b18979bd4a12
Successfully built b18979bd4a12
Successfully tagged amazon-corretto-8:latest
$

$docker run -it amazon-corretto-8

bash-4.2# java -version
openjdk version "1.8.0_192"
OpenJDK Runtime Environment (build 1.8.0_192-amazon-corretto-preview-b12)
OpenJDK 64-Bit Server VM (build 25.192-b12, mixed mode)
bash-4.2#


Amazon Corretto is licensed under the same license as OpenJDK (GPLv2 with CPE) and there are no costs associated with using it. Amazon will provide quarterly security updates to Corretto 8 at least until June 2023.

But Java 8 Is Sooo Old!

Relax, Amazon plans to make Corretto 11 available during the first half of 2019. Corretto 11 will be based on OpenJDK 11.

OpenJDK security Distribution (differential geometry) Docker (software) Java (programming language) Linux (operating system) Multiplatform MacOS AWS

Published at DZone with permission of Ivar Grimstad, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • What Is the Future of Humans With Artificial Intelligence (AI)?
  • Create a Millisecond-Precision Time Ticks Chart with NodeJS
  • Some Thoughts on Agile Planning
  • 10 Best Infrastructure-as-Code Tools for Automating Deployments in 2022

Comments

Java Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo