How to suppress verbosity when settting _JAVA_OPTIONS?

Alan Bateman Alan.Bateman at oracle.com
Mon Sep 4 11:37:15 UTC 2017


On 04/09/2017 12:18, John Paul Adrian Glaubitz wrote:
> :
>
> Is there any way to silence the JVM regarding "_JAVA_OPTIONS"? If no,
> we should probably patch the JVM to do that by default.
The undocumented/unsupported _JAVA_OPTIONS option is highly problematic. 
One of its flaws is that it appends rather than prepends so it 
potentially overrides options that you specify on the command lines. So 
the output message is deliberate, it would be too confusing to have VM 
options magically overridden.

For the issue you are running into then I assume the probe in the build 
can be updated to ignore the message.

-Alan


More information about the hotspot-dev mailing list