Discuss: Prevent jlink runtimes from reading _JAVA_OPTIONS

Bruno Borges Bruno.Borges at microsoft.com
Wed May 8 03:25:30 UTC 2024


In this Reddit discussion [1], the user complains that a jlinked runtime of their application, packaged with jpackage, was failing to some degree due to the environment variable _JAVA_OPTIONS being set somewhere else in the system.

I do agree with the user that a runtime shipped as a built-in component of a Java-based standalone application should not have its properties altered due to a magical environment variable.

I'd like to ask if it is reasonable to suggest that in the case of a jlinked runtime, this should not happen.

[1] https://www.reddit.com/r/java/s/4nF4S1Kpgb

Thanks,
Bruno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-dev/attachments/20240508/c42e216b/attachment.htm>


More information about the hotspot-dev mailing list