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

Netscape plugin.jar conflicts with jfxrt.jar

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 8u5
    • javafx
    • None

      When developing Applets that need to make use of LiveConnect, these applets must import netscape.javascript.JSObject.

      The problem is that jfxrt.jar also provides this package and since it is part of the classpath in JDK 8, it now conflicts with the same package inside plugin.jar.

      For example, method getWindow is not part of the JSObject class definition inside jfxrt.jar, but it is required to support LiveConnect.

      Other users already reported this:
      - https://www.google.com.br/search?q=java+7+jsobject.getwindow
      - http://stackoverflow.com/a/14346541/659870

            kcr Kevin Rushforth
            bborges Bruno Borges (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: