IcedTea Java plugin cannot load applet jar file
Stefan Reich
stefan.reich.maker.of.eye at googlemail.com
Mon Nov 25 11:56:19 PST 2013
OK, I think I got it figured out... the problem was byte code versions. I
compiled to 1.7 and used a 1.6 IcedTea plugin. (Packages
icedtea-6-plugin/icedtea-7-plugin respectively).
Recompiling for 1.6 fixed the problem for both plug-in versions. :)
The last weird thing is that the IcedTea Web Control Panel settings don't
seem to have any effect (specifically, turning on a Java console). Having
the plug-in display a gray area and nothing else on error is a little
unsatisfying...
But anyway, the problem can be classified as solved I'd say. :)
Thanks Andrew!
Stefan
On Mon, Nov 25, 2013 at 7:02 PM, Andrew Azores <aazores at redhat.com> wrote:
> On 11/25/2013 11:50 AM, Stefan Reich wrote:
>
>> Hi!
>>
>> Is this the place to get some IcedTea support...? :)
>>
>> I have terrible trouble getting the simplest Java applets to work...
>>
>> System is Peppermint 3 (32 bit) with original Firefox and Debian package
>> "icedtea-plugin".
>>
>> I can see some applets, like this one: http://math.hws.edu/xJava/MB/
>>
>> But a very simple test applet does not work: http://sessions-hamburg.de/
>> applet/applet_noswing.html
>>
>> There is an exception in ~/.icedtea/log/java.stderr:
>>
>> java.lang.ClassNotFoundException: ma.ma01.NoSwingApplet
>> at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClass(
>> JNLPClassLoader.java:1404)
>>
>> ...which is apparently caused by an unability to load the applet's jar
>> file (I saw an exception about that somewhere else I think). However, the
>> jar file is clearly there: http://sessions-hamburg.de/
>> applet/MagicApplet.jar
>>
>> And the weird thing is, the applet viewer loads the applet just fine!
>> (Try "appletviewer http://sessions-hamburg.de/applet/applet_noswing.html"
>> on your command line, does it work? The applet should just say "Hello
>> world".)
>>
>
> What version is your icedtea-plugin package? The examples seem to work
> fine for me with IcedTea-Web 1.3 and 1.4 on Fedora. I don't know about
> Peppermint but you might still be stuck with 1.2, I believe that's what
> Ubuntu and Mint still have in their repos, since that's also what Debian
> Stable offers. Perhaps you could try with a newer release from Debian
> Testing or Debian Unstable?
>
>
>
>> Finally, I cannot get a Java console to pop up even if I select that in
>> the IcedTea configuration screen.
>>
>> Hehe... sorry if this question is boring or something - it's very
>> important to me, I need to write an important applet.
>>
>> Best regards,
>> Stefan
>>
>
> Thanks,
>
> --
> Andrew A
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20131125/1e3ebd4e/attachment.html
More information about the distro-pkg-dev
mailing list