我正在使用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)
我该如何取消这种行为?
JAVA_TOOL_OPTIONS= java -version
输出什么? - Dmitry Ginzburg