This content has been marked as final. Show 5 replies
The version string in the codebase param is incorrect, it should be Version=6,0,21,7
The digit 7 correponds to the build number.
So codebase should look like:
codebase = "http://java.sun.com/update/1.6.0/jinstall-6u21-windows-i586.cab#Version=6,0,21,7"
Actually, a better way is to use the deployment toolkit for JRE detection and download.
See below document for details:
A best practice is to use the latest available public release or to use the latest update release in the same JRE family. We're going to remove the browser autodownload feature most likely in jdk 8 or sooner.
Thanks for replying.
I have tried changing version number as suggested by you, but problem persist.
Its still pointing to java-plugin 1.4.0.
FYI, I have tried below steps
1. Uninstalled java on my local machine, however while uninstalling java 6 update 21 and 10, its showing
'Fatal error while installation' error message. And i am not able to remove these entries from 'Add or Remove Programs'.
2. Manually removed Java Run time entry from below path.
C:\WINDOWS\Downloaded Program Files
3. Removed Registry entries under JavaSoft.
Guess i have messed up things pretty well :)
Edited by: Avinash K P on Mar 15, 2012 10:58 AM
Can you try to manually download JRE 6 update 21 from the following archive page?
Install it after download.
If install sucessful, try to uninstall it again.
Hope it will bring your machine back to a clean state.
I have tried installing/uninstallin Java 6 but problem still persist.
Edited by: Avinash K P on Mar 16, 2012 3:53 PM
Were you able to install 6u21?
Do you have other old JREs on the machine?
You should uninstall them if you do.
If you want to get the latest version of JRE 6 update 31, you can go to http://java.com