Sun Java logo     Previous      Contents      Index      Next     

Sun logo
Sun Java Enterprise System 2005Q1 Installation Guide 

Appendix D
Installation Commands

This appendix describes the command syntax and options for running the Sun Java™ Enterprise System (Java ES) installer and uninstaller.


Installer Command

The Java ES installer command has the following format:

installer [option]...

The following table describes the options for the installer command.

Table D-1  Java ES Installer Command-line Options 

Option

Description

-help

Defines command-line options for the installer.

-id

Prints a state file ID to the screen.

-no

Runs the installer without installing software.

-noconsole

Starts the installer in silent mode, suppressing the graphical interface. Use this option with the -state option to run the installer in silent mode.

-nodisplay

Starts the installer in text-based mode (does not launch the graphical interface).

-saveState [statefile]

Instructs the installer to generate a state file at the location specified by statefile. State files are used when performing a silent installation.

If the specified file does not exist, the command creates it.

If you omit the statefile value, the installer writes to the default file, statefile.out.

You can specify the same state file in subsequent installation sessions. After the first session, n is appended to the file name, where n is an integer that is incremented for each session, beginning with zero (0).

-state statefile

Uses the specified state file to provide input for silent installation. Use this option with the -noconsole option for starting silent installation.

Examples

To run the installer in graphical mode from the installation directory:

./installer

To run the installer in text-based mode:

./installer -nodisplay

To run the graphical installer without installing software:

./installer -no

To create a state file without installing software:

To create a state file while installing software:

./installer [-nodisplay] -saveState myInstallStatefile

To run the installer in silent mode:

./installer -nodisplay -noconsole -state myInstallStatefile


Uninstall Command

The Java ES uninstall command has the following format:

uninstall [option]...

The following table describes the options for the uninstall command.

Table D-2  Java ES Uninstall Command-line Options 

Option

Description

-help

Defines command -line options for the uninstaller.

-id

Prints a state file ID to the screen.

-no

Runs the uninstaller without removing software.

-noconsole

Starts the uninstaller in silent mode, suppressing the graphical interface. Use this option with the -state option to run the uninstaller in silent mode.

-nodisplay

Starts the uninstaller in text-based mode (does not launch the graphical interface).

-saveState [statefile]

Instructs the uninstaller to generate a state file at the location specified by statefile. State files are used when performing a silent uninstallation.

If the specified file does not exist, the command creates it.

If you omit the statefile value, the uninstaller writes to the default file, statefile.out.

You can specify the same state file in subsequent uninstallation sessions. After the first session, n is appended to the file name, where n is an integer that is incremented for each session, beginning with zero (0).

-state statefile

Uses the specified state file to provide input for silent uninstallation. Use this option with the -noconsole option for starting silent uninstallation.

Examples

To run the uninstaller in graphical mode from the /var/sadm/prod/entsys directory:

./uninstall

To run the uninstaller in text-based mode:

./uninstall -nodisplay

To run the graphical uninstaller without removing software:

./uninstall -no

To create a state file without removing software:

To create an uninstaller state file while uninstalling software:

./uninstall [-nodisplay] -saveState myUninstallStatefile

To run the uninstaller in silent mode:

./uninstall -nodisplay -noconsole -state myUninstallStatefile



Previous      Contents      Index      Next     


Part No: 819-0056-11.   Copyright 2005 Sun Microsystems, Inc. All rights reserved.