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

Packing javaFx dlls in a jar no longer works.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 7u6
    • deploy
    • None
    • Win32

      I used to pack JavaFX dlls in a jar that stood alongside the jfxrt.jar.
      This was working fine on Win32 : both in Intellij's launch, and in JNLP deployment.

      With JavaFX2.2b15, I get this error:
      Caused by: java.lang.UnsatisfiedLinkError: Can't load library: C:\Documents and Settings\lolive\Mes documents\datao\JavaFX2\b15\bin\glass.dll
      at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1706)
      at java.lang.Runtime.load0(Runtime.java:770)
      at java.lang.System.load(System.java:1003)
      at com.sun.glass.utils.NativeLibLoader.loadLibraryFullPath(NativeLibLoader.java:200)
      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.win.WinApplication.<clinit>(WinApplication.java:33)
      at com.sun.glass.ui.win.WinPlatformFactory.createApplication(WinPlatformFactory.java:20)
      at com.sun.glass.ui.win.WinPlatformFactory.createApplication(WinPlatformFactory.java:17)
      at com.sun.glass.ui.Application.Run(Application.java:108)
      at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:271)

      Is it now forbidden to pack native libs in a jar and place this jar in the classpath?

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

              Created:
              Updated:
              Resolved:
              Imported: