handle unexpected output while setting JAVA_TOOL_OPTIONS enviroment variable