Friday, May 8, 2015

How to supporess Picked up JAVA_TOOL_OPTIONS Picked up JAVA_OPTIONS Picked up _JAVA_OPTIONS

Picked up JAVA_TOOL_OPTIONS:
Picked up _JAVA_OPTIONS:

These lines appear before any java program execution, if the environment variables with these names were set.  Remove it to supporess these ugly lines.

Windows:

set JAVA_TOOL_OPTIONS=

Linux

bash (default for Ubuntu, Debian, Redhat, CentOS, etc.)

unset JAVA_TOOL_OPTIONS

3 comments: