Best Practices For Deploying Java In Your Environment

Version 18

    Purpose


    Shavlik Protect users may encounter difficulties deploying Java. Most of these difficulties are casuse by Java being in use by having Internet Browsers, Programs that utilize Java or the Java Auto Updater Running at the time of deployment. This document walks through 3 recommendations on how to best avoid this.

                     

    Description

     

    Recommendation 1.  - Disable the Java Auto Update Service by using an IT Script

     

    *Please first verify you have setup your environment for ITSCripts. Here are the requirements: http://www.shavlik.com/onlinehelp/Protect90HTMLHelp/ITScripts_Requirements.htm

     

    it scripts.png

     

     

    Find the Category Configuration and expand it. Right Click on  'Disable Java Update Service' and click 'Approve'. You may also click on the desired ITScript and click the 'Approve' button at the top.

     

    it scripts1.png

     

    Click the 'Home' button in the top left. Select your machine group/s that you are going to deploy Java to. under step 4, Choose 'ITScript...' on the first dropdown.

     

    On the second dropdown choose Disable Java Update Service.

     

    Click 'Run.' This will disable the Java Update Service on all selected Machines. This will stay disabled for new updates and new versions.

     

    itscript 3.PNG

     

     

    Recommendation 2.  - Deploy Java with the Pre-deploy Reboot option selected in your Deployment Template

     

    This will eliminate the problem with programs in use during your Java deployment.

     

    Verify this by viewing your existing Deployment Templates by clicking Templates-My Deployment Templates.

     

    If you do not have a previous Deployment Template with the Pre-deploy Reboot option selected, you may create a new Deployment Template by clicking on New-Deployment template. By doing a Pre-deployment Reboot, this will ensure that no programs will be in use during the deployment.

     

    java predeployment.PNG

     

     

    Recommendation 3.  - Disable the auto startup of any programs that utilize Java. (Advanced Users only)

     

    There are 2 ways to do this. Through Group Policy and on each machine. *NOTE changes to Group Policy or System Configuration can cause problems to your machines. This guide is for informational purposes only. Shavlik Protect Support won't support any problems caused from changes to the Group Policy or System Configuration.

     

    There are multiple places that startup applications are listed. See here for more information. http://technet.microsoft.com/en-us/magazine/ee851671.aspx

     

    Through Group Policy - See this document http://support.microsoft.com/kb/314488

     

    On Each Machine - You can Verify what programs are set to start on boot by using the System Configuration.

    Please read this article for more information. http://windows.microsoft.com/en-us/windows7/using-system-configuration

     

    Open the System Configuration by typing msconfig in a run command and clicking OK.

    msconfig.PNG

     

    Next click on the startup tab. Uncheck any Programs that use Java. Click OK.

     

    startup.PNG

     

    The next screen will Prompt for a reboot. Please reboot before Java deployment.

    reboot.PNG

     

    Which Java version (32bit or 64 bit) should I use?

    http://www.java.com/en/download/faq/java_win64bit.xml

                     

    Affected Product(s)

     

    Shavlik Protect 9.x

    vCenter Protect 8.x