JAVAFX启动异常java.lang.UnsatisfiedLinkError: com.sun.glass.ui.win.WinApplication**

Exception in thread "main" java.lang.RuntimeException: Application launch error
 at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:122)
 at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.UnsatisfiedLinkError: com.sun.glass.ui.win.WinApplication._invokeLater(Ljava/lang/Runnable;)V
 at com.sun.glass.ui.win.WinApplication._invokeLater(Native Method)
 at com.sun.glass.ui.Application.invokeLater(Application.java:338)
 at com.sun.javafx.tk.quantum.QuantumToolkit.defer(QuantumToolkit.java:620)
 at com.sun.javafx.application.PlatformImpl.runLater(PlatformImpl.java:173)
 at com.sun.javafx.application.PlatformImpl.runAndWait(PlatformImpl.java:212)
 at com.sun.javafx.application.PlatformImpl.tkExit(PlatformImpl.java:320)
 at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:421)
 at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:47)
 at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:115)
 ... 1 more

上面是启动javafx程序抛出的异常信息,找了好久没有找到错误的解决方法

现状:我的pc上装了2个jdk(1.6和1.7)这两个版本,在运行程序前检测Java版本的确使用的是jdk1.7的,但运行时还是出现异常

结果:今天把2个jdk都卸载后,然后重新安装配置后,问题解决!

你可能感兴趣的:(application)