Java Applet 1.5 plugin support for IE



Hello,

I am trying to get the java applet i've written to autodl a current
version of the java runtime on a machine that doesn't have it
installed. I have discovered how this is done on an HTML page using
OBJECT (and Embed).

I have tried to trigger the autodl to dl the java runtime, 1.5.0.06.
It works by installing the java runtime, but when the install is
complete the applet is not run. The location where the java logo should
be flashing is just blank.
If I click refresh of the page, I am prompted once again to install the
runtime libraries.
If I REBOOT the machine, once I click on the html page, my applet runs
and everything is fine.

So, my question. Does Java require a REBOOT of the machine upon
install?? I thought this wasn't the case. Why does refreshing the
page cause the installer to launch once again?? Is my html code
incorrect? Please look at the "...cab#version1,5,0,06" part. Is that
the correct way to specify this patch version? my code snippet is
shown below.

(I've tried this autolaunch with the 1.4.2 version of java, and
although it actually prompts you to reboot the machine, if you click
no, the applet will run fine.)

Yes, the netscape part is just dealing with 1.4.2, because I haven't
tried seeing if later versions will work.

Thanks!
Thierry



<OBJECT classid="clsid:CAFEEFAC-0014-0002-0000-ABCDEFFEDCBA"
width="400" height="100" align="baseline"

codebase="http://java.sun.com/update/1.5.0/jinstall-1_5_0_06-windows-i586.cab#Version=1,5,0,06";>
<PARAM name="code" value="myapplet.class">
<PARAM name="archive" value="myappletjar.jar">
<PARAM name="type"
value="application/x-java-applet;jpi-version=1.5.0_06">
<PARAM name="scriptable" value="true">

<COMMENT>
<EMBED type="application/x-java-applet;jpi-version=1.4"
width="400"
height="100" align="baseline"
code="myapplet.class"
Archive="myappletjar.jar"

pluginspage="http://java.sun.com/j2se/1.4.2/download.html";>
<NOEMBED>
No Java 2 SDK, Standard Edition v 1.4.2 support for
APPLET!!
</NOEMBED>
</EMBED
</COMMENT>
</OBJECT>

.



Relevant Pages

  • Re: Java Question
    ... if the anfy applet works for you then I don't know why the game ... I'm a little unclear about part of your instructions to go to my Java ... message that I need to download and install Macromedia Flash Player (which I ...
    (microsoft.public.windowsxp.general)
  • Re: Microsoft VM
    ... Hawkide - My bad - I forgot that the applet I have is different from ... remember the exact tab - There should be a place where you can select ... Java and JavaScript are two different things. ... to go through that Install on Demand evertime I go to a site ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: autodl of JRE 1.5
    ... It is not your applet which is downloading the Java runtime. ... That's impossible, because the user doesn't have Java installed yet, so it cannot run the applet, and so it cannot find out from the applet that it should be downloading something. ... Rather what's going on is that you've written some HTML, and the browser is interpreting the HTML, and sees a reference to a plugin which it does not have a reference to, and so the browser downloads the plugin, all before the applet ever enters the picture. ... If I click refresh of the page, I am prompted once again to install the ...
    (comp.lang.java.help)
  • Applet problem with IE6 - how do you uninstall applets?
    ... and the bottom left of the browser reports "Applet signer notinited". ... boxes one after another to install the applet - so I am suspicious because ... I have checked and I don't have the Microsoft Java VM but I do have the Sun ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • OT Kenny Switches to Java!!!!!
    ... I found the Java source, and the CW3 Pro environment on an old Mac, but it looks like that lastinstall I did left off Java libs. ... Find the old Mac OS9 CW Pro3 CD, install, rebuild the applet, and stick it in my web site. ... Build a Java application they will have to download and install and so maybe I also have to provide an installer? ... But I hear Javascript is nothing like Java, so I would have a big rewrite to do and "later tonight" is out the window. ...
    (comp.lang.lisp)