About two months ago I was having some problem with my code and a co-worker solved the problem by having me set environment variable JAVA_TOOL_OPTIONS to value "-Dfile.encoding=UTF8". Now, ever since I made that change, every time I compile a
Java file, and every time I run a Java class, the operating system, before it does anything else, prints out "Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8". For example, I have two simple Java files:
and
and when I compile and run them I get:
C:\K\Java\Misc>j7c HelloWorld.java
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
C:\K\Java\Misc>j7c Empty.java
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
C:\K\Java\Misc>j7 HelloWorld
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Hello world!
C:\K\Java\Misc>j7 Empty
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Does anyone know any way to turn this off so it doesn't keep printing this line out? I want to keep the environment variable set; I just don't want it to keep printing this line out.
Kevin S