External _JAVA_OPTIONS environment variable sourcing for self-contained applications

Andrew Haley aph-open at littlepinkcloud.com
Sun May 5 08:25:33 UTC 2024


On 5/4/24 18:22, Christopher Schnick wrote:
> All I'm asking for is to consider giving
> developers an option in jlink that is explicitly opt-in to disable this
> environment variable sourcing. That way the original behavior would not
> be changed unless explicitly requested by the developer.

If I had to solve the problem quickly (as in, less than a year or
so) I'd consider creating a custom launcher. I think that would reset
any environment variables then start Java.

-- 
Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671



More information about the hotspot-dev mailing list