java - Suppressing the "Picked up _JAVA_OPTIONS" message -


I'm using _JAVA_OPTIONS to set some default for Java on RHEL, it works fine, but now Every time I start Java, I get the following message

selected _JAVA_OPTIONS: -foo-bar -baz

Is it possible Keep options but press display of this message.

By looking at the related source code (), there is no way to control the output of this message .

I could say that the only thing is that it is printed on stderr . Therefore, you can wrap your code from stderr to / dev / null redirect (if there was no one that you did on stderr Had given attention).

  • Or write a java wrapper script filtering this message.
  • Or submit a feature request for the openjdk project, however it does not solve your immediate problem.

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -