What does the -XstartOnFirstThread VM Argument do / mean?

前端 未结 1 1223
感情败类
感情败类 2020-12-02 01:56

I can\'t find documentation for the VM argument -XstartOnFirstThread. Seems necessary for me to run JOGL through LWJGL on my Mac. What does it mean? It seems to

相关标签:
1条回答
  • 2020-12-02 02:34

    As of Java 1.7.0_u4, this option is documented in java -X on the Mac OSX platform.

    The option causes the JVM to use thread 0 to start the application. Apparently this is necessary to get Mac OSX to run SWT and GWT apps properly. According to the Eclipse SWT FAQ, AWT and Swing apps use some undocumented magic to do this.

    0 讨论(0)
提交回复
热议问题