Starting with Java 1.7.0_u4, this option is documented in java -X on the Mac OSX platform.
This option forces the JVM to use thread 0 to start the application. Obviously, this is necessary for Mac OSX and the SWT and GWT applications to work properly. According to the Eclipse SWT FAQ , AWT and Swing applications use some undocumented magic to do this.
source share