Convert Figma logo to code with AI

corretto logocorretto-8

Amazon Corretto 8 is a no-cost, multi-platform, production-ready distribution of OpenJDK 8

2,109
221
2,109
60

Top Related Projects

3,269

Eclipse OpenJ9: A Java Virtual Machine for OpenJDK that's optimized for small footprint, fast start-up, and high throughput. Builds on Eclipse OMR (https://github.com/eclipse/omr) and combines with the Extensions for OpenJDK for OpenJ9 repo.

GraalVM CE binaires built by the GraalVM community

Quick Overview

Amazon Corretto 8 is a no-cost, multiplatform, production-ready distribution of OpenJDK 8. It is a long-term support (LTS) version that includes performance enhancements and security fixes. Corretto is certified as compatible with the Java SE standard and is used internally at Amazon for many production services.

Pros

  • Free to use with long-term support
  • Performance optimizations and security patches
  • Compatible with OpenJDK 8
  • Backed by Amazon, ensuring reliability and regular updates

Cons

  • Not the latest Java version (Java 8)
  • May have slight differences from Oracle's JDK implementation
  • Limited to Java 8 features, missing newer Java innovations

Getting Started

To get started with Amazon Corretto 8:

  1. Visit the Corretto 8 downloads page
  2. Select and download the appropriate version for your operating system
  3. Install Corretto 8 following the instructions for your platform
  4. Verify the installation by running:
java -version

You should see output indicating that you're using Amazon Corretto 8.

To use Corretto 8 in a project, simply ensure that your JAVA_HOME environment variable is set to the Corretto 8 installation directory, and your PATH includes the Corretto 8 bin directory.

Competitor Comparisons

3,269

Eclipse OpenJ9: A Java Virtual Machine for OpenJDK that's optimized for small footprint, fast start-up, and high throughput. Builds on Eclipse OMR (https://github.com/eclipse/omr) and combines with the Extensions for OpenJDK for OpenJ9 repo.

Pros of OpenJ9

  • Optimized for cloud and containerized environments, offering better memory efficiency
  • Advanced garbage collection techniques, potentially leading to improved performance
  • Extensive customization options for fine-tuning JVM behavior

Cons of OpenJ9

  • Smaller community and ecosystem compared to Corretto-8
  • May have compatibility issues with some Java applications optimized for HotSpot-based JVMs
  • Less widespread adoption in enterprise environments

Code Comparison

OpenJ9 offers unique command-line options for memory management:

java -XX:+UseContainerSupport -XX:MaxRAMPercentage=75.0 -jar myapp.jar

Corretto-8 uses standard HotSpot options:

java -Xmx4g -jar myapp.jar

Summary

OpenJ9 excels in memory efficiency and cloud-native environments, while Corretto-8 benefits from wider adoption and compatibility. OpenJ9 provides more advanced customization options, but Corretto-8 has a larger ecosystem. The choice between them depends on specific use cases and deployment environments.

GraalVM CE binaires built by the GraalVM community

Pros of GraalVM CE Builds

  • Supports multiple programming languages (Java, JavaScript, Python, Ruby, R, etc.)
  • Offers advanced performance optimizations through Ahead-of-Time (AOT) compilation
  • Provides native image generation for faster startup and lower memory footprint

Cons of GraalVM CE Builds

  • Larger download size and installation footprint
  • May have compatibility issues with some existing Java applications
  • Steeper learning curve for developers unfamiliar with GraalVM features

Code Comparison

GraalVM CE Builds:

import org.graalvm.polyglot.*;

public class PolyglotExample {
    public static void main(String[] args) {
        Context context = Context.create("js");
        Value result = context.eval("js", "40 + 2");
        System.out.println(result.asInt()); // Outputs: 42
    }
}

Corretto 8:

public class StandardJavaExample {
    public static void main(String[] args) {
        int result = 40 + 2;
        System.out.println(result); // Outputs: 42
    }
}

The GraalVM example demonstrates its polyglot capabilities, allowing JavaScript execution within Java code. Corretto 8, being a standard Java distribution, focuses on traditional Java development without additional language support.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

Corretto 8

Amazon Corretto is a no-cost, multiplatform, production-ready distribution of the Open Java Development Kit (OpenJDK). Corretto is used internally at Amazon for production services. With Corretto, you can develop and run Java applications on operating systems such as Amazon Linux 2, Windows, and macOS.

The latest binary Corretto 8 release builds can be downloaded from https://github.com/corretto/corretto-8/releases.

Documentation is available at https://docs.aws.amazon.com/corretto.

Licenses and Trademarks

Please read these files: "LICENSE", "THIRD_PARTY_README", "ASSEMBLY_EXCEPTION", "TRADEMARKS.md".

Branches

develop : The default branch. It absorbs active development contributions from forks or topic branches via pull requests that pass smoke testing and are accepted.

master : The stable branch. Starting point for the release process. It absorbs contributions from the develop branch that pass more thorough testing and are selected for releasing.

ga-release : The source code of the GA release on 01/31/2019.

preview-release : The source code of the preview release on 11/14/2018.

release-8.XXX.YY.Z : The source code for each release is recorded by a branch or a tag with a name of this form. XXX stands for the OpenJDK 8 update number, YY for the OpenJDK 8 build number, and Z for the Corretto-specific revision number. The latter starts at 1 and is incremented in subsequent releases as long as the update and build number remain constant.

OpenJDK Readme


Welcome to the JDK!
===================

For build instructions please see https://openjdk.java.net/groups/build/doc/building.html,
or either of these files:

- doc/building.html (html version)
- doc/building.md (markdown version)

See https://openjdk.java.net for more information about the OpenJDK Community and the JDK.