Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8126683

JavaFX 2.2b15: UnsatisfiedLinkError when run in Webstart

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • None
    • deploy
    • None
    • Jnlp

      When I run my Swing app in JNLP with the jfxrt.jar of JavaFX2.2b15, I get this error on Windows:

      java.lang.UnsatisfiedLinkError: Invalid URL for class: jar:http://datao.zerezo.com/datao/jars/b15/jfxrt_win32_2.2b15.jar!/com/sun/javafx/runtime/NativeLibLoader.class
      at com.sun.javafx.runtime.NativeLibLoader.loadLibraryFullPath(NativeLibLoader.java:145)
      at com.sun.javafx.runtime.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:88)
      at com.sun.javafx.runtime.NativeLibLoader.loadLibrary(NativeLibLoader.java:31)
      at com.sun.webpane.platform.WebPage$1.run(WebPage.java:156)
      at com.sun.webpane.platform.WebPage$1.run(WebPage.java:118)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.webpane.platform.WebPage.<clinit>(WebPage.java:118)
      at com.sun.webpane.sg.ImplementationManager.createPage(ImplementationManager.java:57)
      at com.sun.webpane.sg.ImplementationManager.createPage(ImplementationManager.java:51)
      at javafx.scene.web.WebEngine.<init>(WebEngine.java:702)
      at javafx.scene.web.WebEngine.<init>(WebEngine.java:689)
      at javafx.scene.web.WebView.<init>(WebView.java:245)
      at swingbrowser2.browser.logic.Browser$1.call(Browser.java:39)
      at swingbrowser2.browser.logic.Browser$1.call(Browser.java:37)
      at swingbrowser2.browser.utils.Helpers$1.run(Helpers.java:28)
      at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:173)
      at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
      at com.sun.glass.ui.win.WinApplication$2$1.run(WinApplication.java:62)
      at java.lang.Thread.run(Unknown Source)

      and this error on Mac OS:

      java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: Invalid URL for class: jar:http://datao.zerezo.com/datao/jars/b15/jfxrt_osx_2.2b15.jar!/com/sun/glass/utils/NativeLibLoader.class
      at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:281)
      at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:122)
      at javafx.embed.swing.JFXPanel.initFx(JFXPanel.java:182)
      at javafx.embed.swing.JFXPanel.<init>(JFXPanel.java:199)
      at net.datao.ABetterMigApp$3.run(ABetterMigApp.java:350)
      at java.security.AccessController.doPrivileged(Native Method)
      at net.datao.ABetterMigApp.main(ABetterMigApp.java:348)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.sun.javaws.Launcher.executeApplication(Launcher.java:1914)
      at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1847)
      at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1609)
      at com.sun.javaws.Launcher.run(Launcher.java:138)
      at java.lang.Thread.run(Thread.java:680)
      Caused by: java.lang.UnsatisfiedLinkError: Invalid URL for class: jar:http://datao.zerezo.com/datao/jars/b15/jfxrt_osx_2.2b15.jar!/com/sun/glass/utils/NativeLibLoader.class
      at com.sun.glass.utils.NativeLibLoader.loadLibraryFullPath(NativeLibLoader.java:145)
      at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:88)
      at com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:31)
      at com.sun.glass.ui.Application$1.run(Application.java:75)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.glass.ui.Application.loadNativeLibrary(Application.java:73)
      at com.sun.glass.ui.Application.loadNativeLibrary(Application.java:85)
      at com.sun.glass.ui.mac.MacPlatformFactory.<clinit>(MacPlatformFactory.java:21)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:169)
      at com.sun.glass.ui.PlatformFactory.getPlatformFactory(PlatformFactory.java:20)
      at com.sun.glass.ui.Application.Run(Application.java:108)
      at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:271)
      ... 15 more

            kcr Kevin Rushforth
            orosseljfx Olivier Rossel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: