Solved

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

Posted on 2010-09-08
3
626 Views
Last Modified: 2012-05-10
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
Comment
Question by:Dorset1
3 Comments
 
LVL 3

Accepted Solution

by:
SangramGohil earned 125 total points
ID: 33629739
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
 

Assisted Solution

by:robtk
robtk earned 125 total points
ID: 33629747
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
 

Author Closing Comment

by:Dorset1
ID: 33634857
Thank you that's great!
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
We need a new way to communicate time sensitive or critical info.   The best part of my role at xMatters is visiting our clients all over the world to learn about how they operate their businesses, share insights that xMatters has gleaned across…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now