IBM Support

How to disable Java deprecated messages from console and log files.

Technical Blog Post


Abstract

How to disable Java deprecated messages from console and log files.

Body

Java deprecated messages are displayed on console and log files.  If application users do not want to see these messages, they can be turned off.  Add the following command line argument to JVM arguments.

 

Add -Xlint:none to the Java/JVM arguments.

This will remove the warning messages.

[{"Business Unit":{"code":"BU005","label":"IoT"}, "Product":{"code":"SSLKT6","label":"Maximo Asset Management"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":""}]

UID

ibm11132209