Java 7 breaks SWT app on OS X using Web Start

前端 未结 1 1536
猫巷女王i
猫巷女王i 2021-01-05 00:07

We have an application that launches via webstart that uses the SWT library.

It\'s well known that osx requires the swt library to run in the main thread, so we have

1条回答
  •  一整个雨季
    2021-01-05 00:35

    I've been seeing this as well with Java 7 and wonder if it's a Java 7 bug based on this post from another person (I went ahead and submitted a bug report since I didn't see any from searching through the Java bug database): http://www.java.net/forum/topic/jdk/java-se/webstart-os-x-xstartonfirstthread

    The workaround I've found is simply to use javaws from the Java 6 supplied by Apple, although I had to launch it from the command line: /System/Library/Java/Support/Deploy.bundle/Contents/MacOS/javaws myjnlp.jnlp

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