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":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

UID

ibm11132209