Skip Headers
Oracle® JRockit Installation and Upgrade Guide
Release R28

Part Number E15065-05
Go to Documentation Home
Home
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

4 Silent Mode Installation

The silent installation mode lets you set installation configurations only once and then use those configurations to duplicate the installation on many machines. During installation in silent mode, the installation program reads installation options from an XML file that you create prior to beginning the installation (see Section 4.1, "The silent.xml File"). The installation program does not display any configuration options during the installation process. For more information on silent mode, see "What Is Silent-Mode Installation?" in the Installation Guide for Oracle WebLogic Server at:

http://download.oracle.com/docs/cd/E15523_01/doc.1111/e14142/silent.htm#i1084477

This chapter contains information on these subjects:

4.1 The silent.xml File

For a silent mode installation to be successful, you must create the file silent.xml and store it on your computer. This file contains the values you want included in your setup; for example, whether or not you want the public JRE installed. Example 4-1 shows an example of a silent.xml file for Oracle JRockit JDK R28.2 for Java SE 6 with Oracle JRockit Mission Control 4.1.0.

Example 4-1 Sample silent.xml File

<?xml version="1.0" encoding="UTF-8" ?> 
<domain-template-descriptor>
<!-- 
 
      The values in this example silent.xml file corresponds to a default installation
      of Oracle JRockit JDK R28.2 for Java SE 6 with Oracle JRockit Mission Control 4.1.0
      on Windows 32-bit x86.
    

--> 
<input-fields>
<!-- 
      Installation directory
        The full pathname for the directory where you want to install your product.
        This option is available on all platforms.
      

--> 
<data-value name="USER_INSTALL_DIR" value="c:\Program Files\Java\jrockit-jdk1.6.0_29-R28.2.0-4.1.0" /> 
<!-- 
      Optional installation of Demos and Samples
        Use "true", or "yes", to install this optional component.
        Use "false", or "no", to skip this optional component. The default is "false". 
        This option is available on all platforms.
      

--> 
<data-value name="INSTALL_DEMOS_AND_SAMPLES" value="false" /> 
<!-- 
      Optional installation of Source Code
        Use "true", or "yes", to install this optional component.
        Use "false", or "no", to skip this optional component. The default is "false". 
        This option is available on all platforms.
      

--> 
<data-value name="INSTALL_SOURCE_CODE" value="false" /> 
<!-- 
      Optional installation of Public JRE
        Use "true", or "yes", to install this optional component.
        Use "false", or "no", to skip this optional component. The default is "true". 
        This option is available for Oracle JRockit JDK installers on Windows
      

--> 
<data-value name="INSTALL_PUBLIC_JRE" value="true" /> 
<!-- 
      Optional override of default installation directory for Public JRE
        This option is available for Oracle JRockit JDK installers on Windows
      

--> 
<data-value name="PUBLIC_JRE_INSTALL_DIR" value="c:\Program Files\Java\jrockit-jre1.6.0_29-R28.2.0" /> 
</input-fields>
</domain-template-descriptor>

4.2 Installing the Product in Silent Mode

Before you begin the installation process, ensure you have downloaded the appropriate version of the product for your operating system (see Table 1-5):

  1. On your local drive, locate the installer for the version of the product you want to install:

    Note:

    If you install the product on Linux or Solaris, see Section 1.5.1, "Ensure the Installer is Executable" for important information.

  2. Open a command window or console on your computer.

  3. Change to the directory from which you want to install the product.

    Note:

    This procedure assumes that silent.xml is stored in the same directory as the product installer.

  4. At the command line, type:

    product_installer -mode=silent -silent_xml="silent.xml"

    You will receive a message advising that files are being extracted but no other confirmation.

    Note:

    If you want to create an install log, add the option -log="silent.log" at the end of the command.

  5. If you want to confirm installation on Windows, click Start then All Programs. If the installation is successful, you will see public_product_name_version; for example, Oracle JRockit JDK R28.2 for Java SE 6 with JRMC 4.1.0 (32-bit).

4.3 Uninstalling the Product in Silent Mode

To uninstall Windows versions, use one of the methods described in Section 2.2.1, "Uninstalling the Windows Version" and Section 3.2.1, "Uninstalling Windows Versions from the Command Line".

To uninstall Linux and Solaris versions, use the method described in Section 3.2.2, "Uninstalling Linux and Solaris Versions from the Command Line".