Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JRE only images for other Java versions #194

Closed
gitPlatformTests opened this issue Feb 8, 2024 · 2 comments
Closed

JRE only images for other Java versions #194

gitPlatformTests opened this issue Feb 8, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@gitPlatformTests
Copy link

Is your feature request related to a problem?

It seems there are JRE images only for java 8 and 11

Describe a solution you would like

Create JRE images for other java versions without the JDK

Describe alternatives you have considered

Looking for an official way to remove it, can I build from your container and remove it? how should I do that?

@gitPlatformTests gitPlatformTests added the enhancement New feature or request label Feb 8, 2024
@eastig
Copy link
Member

eastig commented Feb 8, 2024

Hi @gitPlatformTests,

It seems there are JRE images only for java 8 and 11

Only 8 provides JRE. Since JDK 11 JRE has not been provided. This feature was removed from OpenJDK build system. Instead jlink was introduced. You need to use it to create JRE, see corretto/corretto-11#176 (comment)

17 and 21 provide slim images which are smaller than others.

@benty-amzn
Copy link
Contributor

See also #41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants