如何抑制“拾取JAVA_TOOL_OPTIONS:-javaagent:/usr/share/java/jayatanaag.jar”消息
我使用的是 Ubuntu 15.04 和 Java 1.7。更新到15.04后,每当我键入任何Java命令时,我都会收到如下消息:
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
例如:
hduser@ubuntu:~$ java -version
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
如何抑制此行为?