1 Reply Latest reply: Mar 18, 2014 2:34 PM by jschellSomeoneStoleMyAlias RSS

    how to add third party DJNativeSwing.jar to bootstrap loader

    Boxer Brother

      Hi friends,

                      I am developing the swing desktop application having flash but at runtime that jar is not loaded or not found it gives me error as

       

      Exception in thread "main" java.lang.NoClassDefFoundError: chrriis/dj/nativeswing/swtimpl/components/JFlashPlayer

              at java.lang.Class.getDeclaredMethods0(Native Method)

              at java.lang.Class.privateGetDeclaredMethods(Unknown Source)

              at java.lang.Class.getMethod0(Unknown Source)

              at java.lang.Class.getMethod(Unknown Source)

              at com.javafx.main.Main.launchApp(Main.java:656)

              at com.javafx.main.Main.main(Main.java:805)

      Caused by: java.lang.ClassNotFoundException: chrriis.dj.nativeswing.swtimpl.components.JFlashPlayer

              at java.net.URLClassLoader$1.run(Unknown Source)

              at java.net.URLClassLoader$1.run(Unknown Source)

              at java.security.AccessController.doPrivileged(Native Method)

              at java.net.URLClassLoader.findClass(Unknown Source)

              at java.lang.ClassLoader.loadClass(Unknown Source)

              at java.lang.ClassLoader.loadClass(Unknown Source)

              ... 6 more