Chapter 2 Uninstalling Application Server Software
If you installed Application Server as
part of a Java Enterprise System installation, see the Sun Java
System Installation Guide for uninstallation instructions. If
you installed the stand-alone version of Application Server it is important to
use the uninstall routine described here. If you attempt another method, problems
arise when you try to reinstall the same version or when you install a new
version.
All components in the current Application Server installation directory are
automatically selected for uninstallation.
If you have installed Application Server 8.2 (from the JES 5 installer) and
upgraded to Application Server 9.1, ensure that you run the Java ES uninstaller
before you run the Application Server 9.1 uninstaller.

Caution –
Do not manually delete files or directories from your Application Server installation.
Always use the uninstallation program.
Running the Uninstallation Program
Before you run the uninstallation program, stop all clustered
instances and node agents, if any, and then stop all domains. If you do not
stop all domains before the uninstallation, orphaned processes might exist
on your system after the uninstallation. On UNIX, identify the processes using
the ps -ef command and terminate them using the kill command.
Stop the HADB and any associated ma processes, if you are
using HADB.
To uninstall the Application Server software, perform the following steps.
To Run the Uninstallation Program on UNIX or Linux
Before You Begin
Make sure that you have stopped all domains and other related processes,
command prompts using the installation directory or its subdirectories, and
any applications using Java Platform, Standard Edition (Java SE) files bundled
with the product.
-
Navigate to your Application Server installation directory.
-
Invoke the uninstallation program as follows:
-
To use the uninstallation that has a graphical interface, at the
command prompt, type:
./uninstall
-
To use the uninstallation that has a command-line interface, at
the command prompt, type:
./uninstall -console
Note –
Use the -javahome option to provide
a path to a JRE installation if the uninstaller is unable to locate it on
your machine.
To Run the Uninstallation Program on Windows
Before You Begin
Make sure that you have stopped all domains and other related processes,
and command prompts using the installation directory or its subdirectories,
and any applications using Java SE files bundled with the product.
-
Invoke the Uninstallation program in one of the following ways:
-
Under the Sun Microsystems, Application Server program group in
the Start Programs area of your desktop, click Uninstall.
-
Invoke the uninstall program through the Control Panel:
-
Navigate to the Control Panel.
-
Choose Add/Remove Programs.
-
From the list of installed programs, select Sun Java System Application
Server Enterprise Edition.
-
Click Remove.
Next Steps
After you uninstallation is complete, carefully examine the installation
directory contents and remove the remaining files or directories that you
do not require.