Skip to content

Make public JRE optional when installing JDK #554

@tumatanquang

Description

@tumatanquang

After installing Corretto JDK, I found out it will also install public JRE:

  • JDK path: C:\Program Files (x86)\Amazon Corretto\jdk1.8.0_472
  • Private JRE: C:\Program Files (x86)\Amazon Corretto\jdk1.8.0_472\jre
  • Public JRE: C:\Program Files (x86)\Amazon Corretto\jre8

The JAVA_HOME and PATH variables both use the path to the JDK, which uses a private JRE. This makes it clear that the public JRE is redundant, it will never be used, which is probably why most JDK builds now (including Oracle JDK) make the public JRE optional and no longer required - this is what Corretto lacks.

I hope next build Corretto will also make public JRE optional when installing JDK instead of forcing installation like now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions