how to use IcedTea-web in IE(Internet explorer) on windows

machunhui (C) machunhui2 at huawei.com
Mon Jul 9 11:03:32 UTC 2018


Hi, Dears,

>From IcedTea-Web wiki, I learned that IcedTea-Web project provides a web browser plugin running applets and java web start. And from this link http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2017-July/038476.html  it seems IcedTea-Web already support Windows.
And my question is, does IcedTea-Web support IE? Or what shoud I do if I want to use applet in IE?

For example, I wrote a very simple helloworld applet program(source is listed below in case you're interested), and a html file which has an applet tag and calling helloworld.class. The html file works fine in IE with oracle JDK.  But after changing oracleJDK to openJDK (replace oracleJDK folder with openJDK folder) , the applet will not be displayed in IE, even after IcedTea-Web is installed. Though by using "javaws.bat -html helloworld.html" , the applet can be displayed, I do want to know if there is some easier way to display the applet in IE, and in this way users may don't even know the JDK is changed.

Many thanks in advance.

Simple applet and html source:
public class HelloWorld extends Applet {
    public void paint(Graphics g) {
      g.drawString("Hello World!",95,110);
   }
}

<HTML>
<HEAD> <TITLE>HelloWorld</TITLE></HEAD>
<BODY>
Hello applet: <BR><BR>
<applet code="HelloWorld.class" width="300" height ="300">
</BODY>
</HTML>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20180709/c90560ba/attachment-0001.html>


More information about the distro-pkg-dev mailing list