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
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
- duplicates
-
JDK-8094588 jfxrt.jar has a duplicate JSObject class without getWindow(Applet)
- Resolved