What is the advantage of setting java.awt.headless = true?

I passed

  1. Setting java.awt.headless = true programmatically
  2. http://www.oracle.com/technetwork/articles/javase/headless-136834.html and
  3. Some other links too.

The benefits of using this flag are nowhere to be explained.

Is it a performance gain? If so, is there even a rough estimate, what will be the gain in productivity? (I know that the answers to questions about performance are completely case-specific, but it would be nice to find out if someone has reported good benefits from this).

+13
source share
3 answers

, . , , , , .

JDK , . , , , java.awt.headless ( "" ).

. , - , . , : java.awt.headless . .

+11

, , - , , , /, .

, Mac , Java- , . .

+1

, . ; -P openjdk 1.8 SSH X. , - GPIO- , Java, . AWT X11, , . , , , 100%...

0

Source: https://habr.com/ru/post/1663361/


All Articles