Can "Picked up JAVA_TOOL_OPTIONS" output be disabled?

Solution Verified - Updated -

Issue

  • Can the "Picked up JAVA_TOOL_OPTIONS" output be disabled/removed in the Red Hat build of OpenJDK?
$ export JAVA_TOOL_OPTIONS="-Djava.io.tmpdir=/path/to/tmp"
$ java -version
Picked up JAVA_TOOL_OPTIONS: -Djava.io.tmpdir=/path/to/tmp
openjdk version "1.8.0_362"
OpenJDK Runtime Environment (build 1.8.0_362-b09)
OpenJDK 64-Bit Server VM (build 25.362-b09, mixed mode)
  • Can the Red Hat build of OpenJDK be updated to align with Oracle JDK8 u351+, where the "Picked up JAVA_TOOL_OPTIONS" output is removed?

Environment

  • OpenJDK
    • Red Hat
    • Temurin

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content