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

machunhui (C) machunhui2 at huawei.com
Tue Jul 10 14:26:55 UTC 2018


Hello Jiri Vanek,
It make sense that ITW won't support IE since applets are completely dead.

Thanks very much for your quick reply.











--------------------------------------------------
Ma Chunhui
M:
E: machunhui2 at huawei.com<mailto:machunhui2 at huawei.com>
2012<tel:2012> Laboratories-Language VM Lab,2012<tel:2012>Labs
发件人:Jiri Vanek
收件人:machunhui (C),distro-pkg-dev at openjdk.java.net,
抄 送:Chenshanyao,Chenlong (CL),wujiahua (A),
时间:2018-07-09 20:46:20
主 题:Re: how to use IcedTea-web in IE(Internet explorer) on windows

On 07/09/2018 01:03 PM, machunhui (C) wrote:
Hello!

I'm afraid my answer will make you really unhappy.
ITW supports on windows *only* javaws. The pure plugin for internet explorer is not even far close
to the javaws.
There is unofficial port of ITW to windows, but it is still bound to NPAPI. That means, that it runs
everywhere **except** IE.

So to make ITW works in IE you need to write plugin from scratch.

I'm sorry for bad news, but - applets are dead. I mean seriously and completely dead. All browsers
have cut those APIs away. Java have removed any traces of applet support too.
To run legacy stuff for fun, ITW allows you to run javaws -html some_url  which will parse applet
from html page, and lunch it in regular sandbox. But world fun is important. Without browsers
applets lost it spell. So fun, no serious work.

> 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>
>


--
Jiri Vanek
Senior QE engineer, OpenJDK QE lead, Mgr.
Red Hat Czech
jvanek at redhat.com    M: +420775390109
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20180710/49a8d5fc/attachment-0001.html>


More information about the distro-pkg-dev mailing list