Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Tooltip Deploying Java Runtime Environment using SyAM Management Utilities The Third Party Software Deployment feature of SyAM Management Utilities can be used to perform a silent installation of Java Runtime Environment across your network to managed Windows client machines. Optionally, as part of the same deployment job, you can run a Windows batch script that modifies Windows Registry settings to disable Java automatic updates. Requirements: Windows target systems must have the SyAM System Client installed and reporting to SyAM System Area Manager. Target systems must be discovered by Management Utility. Installation executables for Java Runtime Environment can be downloaded from the Oracle website: http://www.oracle.com/technetwork/java/javase/downloads/index.html Click the JRE Download button for the current release. You will need to click the Accept License Agreement radio button to enable downloads. Download the 32-bit and/or 64-bit installer as required. Choose .exe (not .tar.gz) and choose offline (not online) installation files. Place the installation executable(s) in the default application directory defined on the Administration Settings page of Management Utility. In our example we will install the 64-bit JRE. The 32-bit version can be installed in the same way. In Management Utility, create a Third Party template. Enter a template name. Choose Windows as the target platform and select the correct authentication template. Enter the path to the network share containing the JRE installation executable; this will already be present if the default path has been entered in Administration Settings. Click the Find Files button and choose the JRE installation executable from the drop down menu. Enter the parameter for unattended silent installation: /s Deploying Java Runtime Environment 1 Tooltip Click the Add button. Click the Save Changes button. (Optional) If you would like to disable Java automatic updates, you can copy the following and paste it into Notepad (or your preferred text editor): @ECHO OFF reg QUERY "HKLM\SOFTWARE\JavaSoft\Java Update\Policy" if %ERRORLEVEL% EQU 0 ( reg ADD "HKLM\SOFTWARE\JavaSoft\Java Update\Policy" ^ /v "EnableJavaUpdate" /t REG_DWORD /d 0 /f ) reg QUERY "HKLM\SOFTWARE\Wow6432Node\JavaSoft\Java Update\Policy" if %ERRORLEVEL% EQU 0 ( reg ADD "HKLM\SOFTWARE\Wow6432Node\JavaSoft\Java Update\Policy" ^ /v "EnableJavaUpdate" /t REG_DWORD /d 0 /f ) EXIT Deploying Java Runtime Environment 2 Tooltip Save the batch file (in this example, we’ll name the file disable-java-updates.bat) and copy it to the default application directory. On the Third Party page, click New Template. Enter a template name. Choose Windows as the target platform and select the correct authentication template. Click the Find Files button and choose the batch file from the drop down menu. Click the Add button. Click the Save Changes button. Now you can test deployment to a single system. Select a system in the Groups area. Click the system row, then right-click to display the context menu. From the menu, choose Deploy Third Party Software. Deploying Java Runtime Environment 3 Tooltip In the New Task box, choose the Windows authentication template and the newly created JRE deployment template. Click OK. Deploying Java Runtime Environment 4 Tooltip If you will be disabling Java automatic updates, click the Add Task button. Choose the Deploy Third Party Software task. Choose the Windows authentication template. Choose the Third Party template to disable updates. Click OK. On the Add/Edit A Job page, click the Run Job button, then click OK to confirm. The installation will begin shortly. This example shows the single JRE deployment task. Deploying Java Runtime Environment 5 Tooltip This example shows two tasks: the JRE deployment and disabling the auto updates. After the job is finished, you may review the status by finding the job in the Status area and clicking the View Details link. Deploying Java Runtime Environment 6 Tooltip After testing the job on a single machine you can deploy to groups of machines, using ondemand or scheduled jobs. Deploying Java Runtime Environment 7