#26 Classes from <Java VM>\lib\plugin.jar missing from IKVM DLLs

closed
nobody
None
5
2011-12-02
2011-11-28
Richard
No

When I compile some JAR with ikvmc, I've got following output:
Warning IKVMC0100: class "netscape.security.PrivilegeManager" not found
I found this class in the 'lib\plugin.jar' of my Java VM installation.

Whether classes of this JAR are part of the IKVM API? Or should I compile this JAR with ikvmc by myself as any other JAR, which isn't a part of standard Java class library?

Discussion

  • Applets are not supported and the plugin.jar classes aren't an official part of Java, so I don't see a good reason to add these (and it likely wouldn't be possible to provide a meaningful implementation).

     
  • Richard
    Richard
    2011-11-28

    Compiling plugin.jar with ikvmc raises a need to compile deploy.jar and javaws.jar since these JARs contain neccessary classes for plugin.jar.
    Unfortunately, plugin.jar also references sun.awt.windows.WEmbeddedFrame class, which is part of rt.jar and is missed from IKVM classes library.

    Since that workaround, I've offered in the feature request details ("compile plugin.jar with ikvmc by myself as any other JAR"), doesn't help to solve the issue.

     
  • Richard
    Richard
    2011-11-28

    Thanks!
    Hopefully reference to plugin.jar isn't actually used in runtime.

     
  • It most likely isn't. The code is probably just trying to handle some specific scenario related to running inside an applet.

     
    • status: open --> closed