Sun Java System Web Server 7.0 Update 7 Installation and Migration Guide

Selecting the Uninstallation Mode

There are three uninstallation modes: graphical, command-line, and silent. Use the uninstall command to specify the uninstallation mode. The syntax is as follows:

./uninstall [--help] [--console] [--silent] [--javahome java_dir][--saveinstances]

If you run the uninstall command without options, the uninstallation programs runs in graphical mode.

The following table lists the uninstall command options.

Table 4–1 Options for the uninstall Command

Option 

Description 

./uninstall --help

Displays the options for the uninstall command.

./uninstall

Runs the uninstaller in graphical mode. 

./uninstall --console

Runs the uninstaller in command-line mode. 

./uninstall --silent

Runs the uninstaller in silent mode. 

./uninstall --javahome java_dir

Defines the location of the JDK installation that should be used for the uninstaller JVM, in graphical mode. 

./uninstall --console --javahome java_dir

Defines the location of the JDK installation that should be used for the uninstaller JVM, in command-line mode. 

./uninstall --saveinstances

Captures configuration information for a server instance before it is uninstalled, in command-line mode. All configuration information is removed during the uninstall process in silent mode. In all other modes, you are prompted during the uninstall process.