automatic upgrade jre client from 1.4 to 1.5

Hi,

I have modify code of applet to compile with java 1.5.

Automatique installation of jre 1.5 work well if no jre installed.

Automatic installation of jre 1.5 don't work if jre 1.4 is already installed. then applet break down cause of UnsupportedClassVersionError.

I can't uninstall jre 1.4 manualy cause i have hundreds computers clients

See jsp code for run applet :

<jsp:plugin type="applet" code="com.digitech.scanapplet.ScanApplet"

archive="ScanApplet.jar, jai_codec.jar, jai_core.jar, morena.jar, morena_windows.jar, morena_license.jar"

codebase="../applet"

jreversion="1.5" name="ScanApplet" align="center"

nspluginurl="http://pc-tju:8080/Airs3Dossiers3.0a/jre_for_applet/jre-1_5_0_12-windows-i586-p.exe" iepluginurl="http://pc-tju:8080/Airs3Dossiers3.0a/jre_for_applet/jre-1_5_0_12-windows-i586-p.exe">

<jsp:params>

<jsp:param name="LANGUE" value='FR'/>

<jsp:param name="URL" value='<%=closeUrl%>'/>

<jsp:param name="FICHIER" value='<%=fileName%>'/>

<jsp:param name="UPLOAD" value='<%=uploadUrl%>'/>

</jsp:params>

<jsp:fallback>

blabla <a href="../jre_for_applet/jre-1_5_0_12-windows-i586-p.exe">ici</a>

</jsp:fallback>

</jsp:plugin>

Can you help me please?

[1390 byte] By [thierry.judlina] at [2007-11-27 11:11:19]
# 1

A search on google for this:

browser java version automatic upgrade

shows the following links that may help:

http://www.java.com/en/download/help/5000020700.xml

and

http://java.sun.com/j2se/1.4.2/docs/guide/deployment/installation/windows/iftw-update/faq.html

Personnally, I suggest keeping away from applets just for this reason, you are asking end users to muck with thier configurations and to download new java versions. I suggest having your JSP page just send out plain old html and jsp tags to the client. Its compatable with just about every browser (IE, Netscape, Mozilla, etc) and every version of them.

George123a at 2007-7-29 13:47:24 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...