IcedTea Java plugin cannot load applet jar file

Andrew Azores aazores at redhat.com
Mon Nov 25 10:02:33 PST 2013


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



More information about the distro-pkg-dev mailing list