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

GA-Samples SwingInterop.jar NoClassDefFoundError

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: fx2.0
    • Fix Version/s: fx2.0
    • Component/s: javafx
    • Environment:

      Win7
      JavaFX2.0beta b42
      JDK7

      Description

      There is a recent addition to GA-Samples bundle called SwingInterop.jar. Attempting to launch this results in a NPE.

      c:\swat\ga-samples>java -jar SwingInterop.jar
      Exception in thread "main" java.lang.NoClassDefFoundError: javafx/embed/swing/JFXPanel
              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 sun.launcher.LauncherHelper.getMainMethod(Unknown Source)
              at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
      Caused by: java.lang.ClassNotFoundException: javafx.embed.swing.JFXPanel
              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 sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
              at java.lang.ClassLoader.loadClass(Unknown Source)
              ... 6 more

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dmasada Debra Masada (Inactive)
              Reporter:
              tbeckham Tony Beckham (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: