IcedTea Java plugin cannot load applet jar file
Jiri Vanek
jvanek at redhat.com
Tue Nov 26 01:21:50 PST 2013
hi!
In next release of 1.4 (current stable) will be console enabled and *show-able* . It is enabled
since 1.3, however by error it was never visible.
if interested, you may see this simple patch :
http://icedtea.classpath.org/hg/release/icedtea-web-1.4/rev/acbada276d23 , which had fixed it.
For 1.5 the console is going to be completely rewritten - see
http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2013-November/025342.html if you wont to
affect its development :)
Best regards
J.
On 11/25/2013 08:56 PM, Stefan Reich wrote:
> 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. :)
thanx for investigation! It is interested case.
>
> 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 <mailto: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
> <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
> <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
> <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