j74
asked on
Java Plugin 1.3.1.x and 1.4.2.x coexistence issue
Our customer has application where there is must of JRE 1.3.1.x plugin is needed. But we gave him application which must require JRE 1.4.2.x.
Customer's browser's default JRE is getting overwrriten.
We followed following approache to resolve
1) install JRE1.3.1.x and make that as default JRE
2) Now for JRE1.4.2.x, we told cutomer to go for custom installation so that he should be not selecting this JRE1.4.2.x as default.
Even though customer's system has defined the JRE version in his html for his application, but the jer1.4.2.x is getting used when he tries to acces his application after JRE 1.4.2.x comes and sit in the machine.
Customer wants both co-exist. This looks near not to possible. Is there any way to handle this issue and make my customer happy?
thanks~Veerendra
Customer's browser's default JRE is getting overwrriten.
We followed following approache to resolve
1) install JRE1.3.1.x and make that as default JRE
2) Now for JRE1.4.2.x, we told cutomer to go for custom installation so that he should be not selecting this JRE1.4.2.x as default.
Even though customer's system has defined the JRE version in his html for his application, but the jer1.4.2.x is getting used when he tries to acces his application after JRE 1.4.2.x comes and sit in the machine.
Customer wants both co-exist. This looks near not to possible. Is there any way to handle this issue and make my customer happy?
thanks~Veerendra
are you specifying the required classid in your html?
And make sure u install 1.3 *last*.
ASKER
yep. Our customer is using as follows:
//====================
<html>
<head>
<title>A. M. S.</title>
</head>
<body>
<p align=center style='text-align:center'> <FONT color=blue size=5>
<b>Account Management System 5.2</b></FONT></p>
<p align=center style='text-align:center'>
<!--"CONVERTED_APPLET"-->
<!-- HTML CONVERTER -->
<SCRIPT LANGUAGE="JavaScript"><!--
var _info = navigator.userAgent; var _ns = false; var _ns6 = false;
var _ie = (_info.indexOf("MSIE") > 0 && _info.indexOf("Win") > 0 && _info.indexOf("Windows 3.1") < 0);
//--></SCRIPT>
<COMMENT><SCRIPT LANGUAGE="JavaScript1.1">< !--
var _ns = (navigator.appName.indexOf ("Netscape ") >= 0 && ((_info.indexOf("Win") > 0 && _info.indexOf("Win16") < 0 && java.lang.System.getProper ty("os.ver sion").ind exOf("3.5" ) < 0) || (_info.indexOf("Sun") > 0) || (_info.indexOf("Linux") > 0) || (_info.indexOf("AIX") > 0) || (_info.indexOf("OS/2") > 0)));
var _ns6 = ((_ns == true) && (_info.indexOf("Mozilla/5" ) >= 0));
//--></SCRIPT></COMMENT>
<SCRIPT LANGUAGE="JavaScript"><!--
if (_ie == true) document.writeln('<OBJECT classid="clsid:8AD9C840-04 4E-11D1-B3 E9-00805F4 99D93" WIDTH = 300 HEIGHT = 150 codebase="http://java.sun.com/products/plugin/1.3.1/jinstall-131-win32.cab#Version=1,3,1,0"><NOEMBED><XMP> ');
else if (_ns == true && _ns6 == false) document.writeln('<EMBED type="application/x-java-a pplet;jpi- version=1. 3.1_01" CODE = appletprac.AppleTest.class CACHE_OPTION="Plugin" CACHE_ARCHIVE = "Sappletprac.jar" WIDTH = 300 HEIGHT = 150 scriptable=false pluginspage="http://java.sun.com/products/plugin/1.3.1/plugin-install.html"><NOEMBED><X MP>');
//--></SCRIPT>
<APPLET CODE = appletprac.AppleTest.class WIDTH = 300 HEIGHT = 150></XMP>
<PARAM NAME = CODE VALUE = appletprac.AppleTest.class >
<PARAM NAME="type" VALUE="application/x-java- applet;jpi -version=1 .3.1_01">
<PARAM NAME="scriptable" VALUE="false">
<PARAM NAME = "CACHE_OPTION" VALUE = "Plugin" >
<PARAM NAME = "CACHE_ARCHIVE" VALUE = "Sappletprac.jar" >
alt="Your browser understands the <APPLET> tag but isn't running the applet, for some reason."
Your browser is completely ignoring the <APPLET> tag!
</APPLET>
</NOEMBED></EMBED></OBJECT >
<!--
<APPLET CODE = appletprac.AppleTest.class WIDTH = 300 HEIGHT = 150>
alt="Your browser understands the <APPLET> tag but isn't running the applet, for some reason."
Your browser is completely ignoring the <APPLET> tag!
</APPLET>
-->
<!--"END_CONVERTED_APPLET" -->
</p>
<p align=center style='text-align:center'> <FONT color=blue size=4>Copyright 1999-2002, Network Design and Analysis Corporation</FONT></P>
</body>
</html>
//======================== ========== ======
We are using htmls for our app as follows:
//======
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<HTML><HEAD><TITLE>INTEGRA TED CONFIGURATION TOOL</TITLE>
<SCRIPT LANGUAGE="JavaScript"><!-- Hide script
window.history.forward(1);
// End script hiding --></SCRIPT>
</HEAD><BODY> <OBJECT
classid = "clsid:8AD9C840-044E-11D1- B3E9-00805 F499D93"
codebase = "/appcontent/apollo/sparx/ jinstall-1 _4-windows -i586.cab# Version=1, 4,0,0"
WIDTH = 870 HEIGHT = 620 ARCHIVE = "" ID = "ICT" NAME = "ICT">
<PARAM NAME = CODE VALUE = "com.cisco.sparx.SPARXAppl et">
<PARAM NAME = cache_archive_ex VALUE = "/appcontent/apollo/sparx/ SPARXApple t.jar;2.0. 3.2,/appco ntent/apol lo/sparx/k soap-j2se. jar;1.0.0. 0">
<PARAM NAME = "type" VALUE = "application/x-java-applet ;version=1 .4">
<PARAM NAME = "scriptable" VALUE = "false">
<PARAM NAME = "accessKey" VALUE = "1082757464782836914062569 91">
<PARAM NAME = "csid" VALUE = "">
<PARAM NAME = "punchoutsession" VALUE = "N">
<PARAM NAME = "environment" VALUE = "Prod">
<PARAM NAME = "ccouserid" VALUE = "QASSUS">
<PARAM NAME = "UIVersion" VALUE = "2.0.3.2">
<COMMENT>
<EMBED
type = "application/x-java-applet ;version=1 .4"
CODE = "com.cisco.sparx.SPARXAppl et"
WIDTH = 870 HEIGHT = 620 ARCHIVE = "" ID = "ICT" NAME = "ICT"
cache_archive = "/appcontent/apollo/sparx/ SPARXApple t.jar,/app content/ap ollo/sparx /ksoap-j2s e.jar"
cache_version = "2.0.3.2,1.0.0.0"
scriptable = false
pluginspage = "/appcontent/apollo/sparx/ JavaPlugin Index.html #download"
accessKey = "1082757464782836914062569 91"
csid = ""
punchoutsession = "N"
environment = "Prod"
ccouserid = "QASSUS"
UIVersion = "2.0.3.2" >
<NOEMBED></NOEMBED>
</EMBED>
</COMMENT>
</OBJECT>
</BODY></HTML>
//======================== ========== ==========
//====================
<html>
<head>
<title>A. M. S.</title>
</head>
<body>
<p align=center style='text-align:center'>
<b>Account Management System 5.2</b></FONT></p>
<p align=center style='text-align:center'>
<!--"CONVERTED_APPLET"-->
<!-- HTML CONVERTER -->
<SCRIPT LANGUAGE="JavaScript"><!--
var _info = navigator.userAgent; var _ns = false; var _ns6 = false;
var _ie = (_info.indexOf("MSIE") > 0 && _info.indexOf("Win") > 0 && _info.indexOf("Windows 3.1") < 0);
//--></SCRIPT>
<COMMENT><SCRIPT LANGUAGE="JavaScript1.1"><
var _ns = (navigator.appName.indexOf
var _ns6 = ((_ns == true) && (_info.indexOf("Mozilla/5"
//--></SCRIPT></COMMENT>
<SCRIPT LANGUAGE="JavaScript"><!--
if (_ie == true) document.writeln('<OBJECT classid="clsid:8AD9C840-04
else if (_ns == true && _ns6 == false) document.writeln('<EMBED type="application/x-java-a
//--></SCRIPT>
<APPLET CODE = appletprac.AppleTest.class
<PARAM NAME = CODE VALUE = appletprac.AppleTest.class
<PARAM NAME="type" VALUE="application/x-java-
<PARAM NAME="scriptable" VALUE="false">
<PARAM NAME = "CACHE_OPTION" VALUE = "Plugin" >
<PARAM NAME = "CACHE_ARCHIVE" VALUE = "Sappletprac.jar" >
alt="Your browser understands the <APPLET> tag but isn't running the applet, for some reason."
Your browser is completely ignoring the <APPLET> tag!
</APPLET>
</NOEMBED></EMBED></OBJECT
<!--
<APPLET CODE = appletprac.AppleTest.class
alt="Your browser understands the <APPLET> tag but isn't running the applet, for some reason."
Your browser is completely ignoring the <APPLET> tag!
</APPLET>
-->
<!--"END_CONVERTED_APPLET"
</p>
<p align=center style='text-align:center'>
</body>
</html>
//========================
We are using htmls for our app as follows:
//======
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<HTML><HEAD><TITLE>INTEGRA
<SCRIPT LANGUAGE="JavaScript"><!--
window.history.forward(1);
// End script hiding --></SCRIPT>
</HEAD><BODY> <OBJECT
classid = "clsid:8AD9C840-044E-11D1-
codebase = "/appcontent/apollo/sparx/
WIDTH = 870 HEIGHT = 620 ARCHIVE = "" ID = "ICT" NAME = "ICT">
<PARAM NAME = CODE VALUE = "com.cisco.sparx.SPARXAppl
<PARAM NAME = cache_archive_ex VALUE = "/appcontent/apollo/sparx/
<PARAM NAME = "type" VALUE = "application/x-java-applet
<PARAM NAME = "scriptable" VALUE = "false">
<PARAM NAME = "accessKey" VALUE = "1082757464782836914062569
<PARAM NAME = "csid" VALUE = "">
<PARAM NAME = "punchoutsession" VALUE = "N">
<PARAM NAME = "environment" VALUE = "Prod">
<PARAM NAME = "ccouserid" VALUE = "QASSUS">
<PARAM NAME = "UIVersion" VALUE = "2.0.3.2">
<COMMENT>
<EMBED
type = "application/x-java-applet
CODE = "com.cisco.sparx.SPARXAppl
WIDTH = 870 HEIGHT = 620 ARCHIVE = "" ID = "ICT" NAME = "ICT"
cache_archive = "/appcontent/apollo/sparx/
cache_version = "2.0.3.2,1.0.0.0"
scriptable = false
pluginspage = "/appcontent/apollo/sparx/
accessKey = "1082757464782836914062569
csid = ""
punchoutsession = "N"
environment = "Prod"
ccouserid = "QASSUS"
UIVersion = "2.0.3.2" >
<NOEMBED></NOEMBED>
</EMBED>
</COMMENT>
</OBJECT>
</BODY></HTML>
//========================
Thats using the dynamic classsid.
ASKER
When I stall 1.3.1.x as last, that customer application works. But when he tries my application again he will be prompted to install 1.4.2.x even though he has already installed it.
I am finding the same as mentioned above texts
I am finding the same as mentioned above texts
classid for 1.3.1 specifically is:
CAFEEFAC-0013-0001-0000-AB CDEFFEDCBA
but it's also different for each 'sub' version.
can u explain again exactly what is is you need used.
CAFEEFAC-0013-0001-0000-AB
but it's also different for each 'sub' version.
can u explain again exactly what is is you need used.
do you know if your customers html ends up using the object or the applet tag?
ASKER
I got the class id from html converter tool which comes with jdk.
ASKER
Customer is not ready to change his app becuase it is coming as end of life by this year and on top it his application is developed by third party so no supprt on that app. So basically our applet/ way of installing plugin should take care of.
you could try using the following classid fin your html:
CAFEEFAC-0014-0002-0000-AB CDEFFEDCBA
asking for 1.4.2 or later.
its strange that your html prompts for install and theres doesn't considering they both use the same classid. Unless the customers is using the applet tag and thus the default vm.
CAFEEFAC-0014-0002-0000-AB
asking for 1.4.2 or later.
its strange that your html prompts for install and theres doesn't considering they both use the same classid. Unless the customers is using the applet tag and thus the default vm.
ASKER
yeah. I agree. If the customer was using applet tag we could have told him to install JRE 1.3 and make that as default. Then it would be have worked both app.
ASKER
I don't know why SUN is giving same classId for JRE 1.3.1.x and JRE 1.4.2.x (i.e. 8AD9C840-044E-11D1-B3E9-00 805F499D93 )
thats the dynamic classid, stating to use the default vm.
ASKER
what is dynamic clsid? can we have different clsid. It does not look working if we change the clsid.any other opinion plx to overcome this issue
> what is dynamic clsid?
it is what u are using, it says use *any* version of the plugin.
> can we have different clsid.
yes each version has its own classid
it is what u are using, it says use *any* version of the plugin.
> can we have different clsid.
yes each version has its own classid
ASKER
I gave CAFEEFAC-0014-0002-0004-AB CDEFFEDCBA which in jinstall-1_4-windows-i586. cab file. We changed the dynamic clsid with this one. Now we get the blank page. Nothing seems working.
what browser
ASKER
IE6.0.2800.x
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you all!