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

Add support for JDK_JAVA_OPTIONS #440

Closed
akefirad opened this issue Aug 2, 2023 · 1 comment
Closed

Add support for JDK_JAVA_OPTIONS #440

akefirad opened this issue Aug 2, 2023 · 1 comment
Labels
type:question A user question

Comments

@akefirad
Copy link

akefirad commented Aug 2, 2023

Describe the Enhancement

I'm not sure if it's bug or feature. But we need to support JDK_JAVA_OPTIONS environment variable. One specific use case is to add --add-opens flag which doesn't seem to be possible to do via JAVA_TOOL_OPTIONS anymore (tested on Java 17).

The full story is here. Thanks.

@dmikusa
Copy link
Contributor

dmikusa commented Aug 2, 2023

I commented on the SO post. I don't think there will need to be any changes in the buildpack here. You can set any arbitrary buildpack using pack or Spring Boot build tools. You just need to make sure it's set at the appropriate time.

@dmikusa dmikusa closed this as completed Aug 2, 2023
@dmikusa dmikusa added the type:question A user question label Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:question A user question
Projects
None yet
Development

No branches or pull requests

2 participants