• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 636
  • Last Modified:

How do I deploy a specific Java Runtime Environment (JRE) version such that it will never update itself?

Hello,

To support a new application I need to deploy a specific version of JRE ("1.6.06" or "6 update 6") to large numbers of PCs in a Windows 2003 AD environment. The application only supports a given version of Java which is usually many upgrades older than the latest one.
I'm currently deploying JRE 6 Update 6 (the latest version supported by the application) using MS Active Directory Group Policy Object Software Installation, however it stills prompts to update itself. Users will probably follow their noses and upgrade manually.

I have tried using a GPO with a custom ADM template to set certain registry keys namely:-
HKLM\SOFTWARE\JavaSoft\Java Update\Policy\EnableAutoUpdateCheck=0 and
HKLM\SOFTWARE\JavaSoft\Java Update\Policy\EnableJavaUpdate=0

JRE still tries to update itself, probably because there are other version-specific registry keys which have an EnableJavaUpdate value set to 1.
I could set these, but would need to intervene for every new version of Java our application supports.
Do you know of any way to deploy JRE, ideally using GPOs, for eg with an MST file , to prevent any updating?

Many Thanks
0
Dorset1
Asked:
Dorset1
2 Solutions
 
SangramGohilCommented:
create a group policy which disable following registry key or remove it

HKLM\SOFTWARE\Microsoft\CurrentVersion\Run\SunJavaUpdateSched

i am not sure what it is for your version but if you will remove it along with the registry key you mentioned it will not show you update prompt.

0
 
robtkCommented:
I would create a transform file to disable the updates. The settings are listed here depending on the version:
http://www.appdeploy.com/packages/detail.asp?id=923
 
0
 
Dorset1Author Commented:
Thank you that's great!
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now