This appendix describes the command syntax and options for running the Sun JavaTM Enterprise System (Java ES) installation utilities.
There are two versions of the Java ES installer:
installer utility—This is the standard version of the Java ES installer, located in the top-level installation directory under the operating system directory. You will use this version of the installer unless your installer has been patched.
install utility—This is the packaged version of the Java ES installer that is used for patching. If there is a bug in the installer, Sun can fix the installer and create a patch for the installer package. After the patch is applied, the packaged version of the installer (install) should thereafter be used for the release, thus launching the version of the installer that contains the fixes from the patch. This utility is located in the following directory along with the viewlog utility:
Solaris OS: /var/sadm/prod/SUNWentsys5u1i
Linux: /var/sadm/prod/sun-entsys5u1i
Syntax for both commands is the same.
installer [option]...
The following table describes the options for the installer or the install command.
Table B–1 Java ES Installation Command 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). |
-noreporter |
Suppresses installation of Java ES Reporter (prevents the Reporter installation utility from being launched). |
-reporter |
Invokes the Java ES Reporter installation utility on the command line in a separate installation session. Used after running a Java ES installation using the –noreporter option, or after running a silent Java ES installation (Reporter cannot be installed in a silent Java ES installation). User input for Reporter installation includes the URL or IP address of a proxy that Reporter uses to access Sun through the internet. |
-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. |
-version |
Prints the build information, including Product Name, Date, Build, Patch Level. Primarily an internal tool, but can be helpful in filing bugs. |
Substitute whichever version of the installer you are using (installer or install) in the following table or 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 in graphical mode without installing software:
./installer -no -saveState myInstallStatefile |
To create a state file while installing software in text-based mode:
./installer -nodisplay -saveState myInstallStatefile |
To run the installer in silent mode:
./installer -noconsole -state myInstallStatefile |
To run the installer in graphical mode without installing Java ES Reporter:
./installer -noreporter |
To install Java ES Reporter in a separate session using the Reporter installation utility (does not invoke the Java ES installer):
./installer -reporter |
After installation, the Java ES installer places the uninstaller uninstall utility here:
Solaris OS: /var/sadm/prod/SUNWentsys5u1
Linux: /var/sadm/prod/sun-entsys5u1
The Java ES uninstall command has the following format:
uninstall [option]... |
The following table describes the options for the uninstall command.
Table B–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. |
-version |
Prints the build information, including Product Name, Date, Build, Patch Level. Primarily an internal tool, but can be helpful in filing bugs. |
To run the uninstaller in graphical mode from within the uninstaller 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 in graphical mode without removing software:
./uninstall -no -saveState myUninstallStatefile |
To create an uninstallation state file while uninstalling software in text-based mode:
./uninstall -nodisplay -saveState myUninstallStatefile |
To run the uninstaller in silent mode:
./uninstall -noconsole -state myUninstallStatefile |
After installation, the Java ES installer places the Log Viewer viewlog utility here:
Solaris X86 Solaris OS: /var/sadm/prod/sun-entsys5u1i/Solaris_x86
Solaris Sparc Solaris OS: /var/sadm/prod/sun-entsys5u1i/Solaris_sparc
Linux: /var/sadm/prod/sun-entsys5u1i/Linux_x86
The Java ES viewlog command has the following format:
viewlog [option]... |
The following table describes the options for the viewlog command.
Table B–3 Java ES Log Viewer Command-line Options
Option |
Description |
---|---|
-help |
Defines command line options for the Log Viewer |
To run the graphical Log Viewer:
./viewlog |