[Bug 1189] New: Icedtea-plugin needs code attribute instead of reading from jnlp.

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Thu Oct 4 14:02:18 PDT 2012


          Priority: P3
            Bug ID: 1189
                CC: unassigned at icedtea.classpath.org
          Assignee: dbhole at redhat.com
           Summary: Icedtea-plugin needs code attribute instead of reading
                    from jnlp.
          Severity: normal
    Classification: Unclassified
                OS: Linux
          Reporter: fermarja at gmail.com
          Hardware: x86_64
            Status: NEW
           Version: unspecified
         Component: Plugin
           Product: IcedTea-Web

Created attachment 764
  --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=764&action=edit
example working in sun-jdk but failing in icedtea

When loading an applet by JNLP, in Windows sun-jdk-7, you can omit the code
attribute, and indicate it on jnlp file.

If you try this on icedtea-web you obtain the message:

Warning: <embed> tag requires code attribute

Even worse, if you use deployJava.js and you pass code attribute it works, but
if you don't indicate code attribute, you'll get this message

netx: Initialization Error: Could not initialize applet. (Fatal: Application
Error: Unknown Main-Class. Could not determine the main class for this
net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not
initialize applet. 

and firefox/iceweasel will eat all your CPU until you kill the java process or
press "stop script" option in the firefox's dialog.

Attached an example that works in win7-i386-firefox-sunjdk and fails in
debian-x86_64 -iceweasel-icedtea.

Note: the example applet is not graphical, it's to make digital signatures
calling it from javascript

icedtea version : 1.3

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20121004/d5072eac/attachment.html 

More information about the distro-pkg-dev mailing list