Chapter 2 Uninstalling Application Server Software
This chapter provides instructions for uninstalling the Application Server software,
either the Application Server distribution, the Java EE SDK distribution, or the
Java EE SDK SOA Starter Kit Preview distribution. When you run
the uninstallation program, all components in the current Application Server installation
directory are automatically selected for uninstallation.
Note –
It is important to use the uninstallation program described here.
If you attempt another method, problems arise when you try to reinstall the
same version or when you install a new version.
Running the Uninstallation Program
To uninstall the Application Server software, complete one of the following
procedures:
To Run the Uninstallation Program on Solaris or Linux
Before You Begin
Make sure that you have stopped all domains and other related processes,
including command prompts using the installation directory or its subdirectories
and any applications using J2SE files bundled with the product.
If you do not stop all domains before the uninstallation, orphaned processes
might exist on your system after the uninstallation. Identify the processes
using the ps -ef command and terminate them using the kill command.
-
Navigate to your Application Server installation directory.
-
Invoke the uninstall program as follows:
-
To use the uninstall that has a graphical interface, at the command
prompt, type:
./uninstall
-
To use the uninstall that has a command-line interface, at the
command prompt, type:
./uninstall -console
The unistallation program removes the Application Server components. Some
files and directories remain after running the uninstallation program. Carefully
examine the remaining files and directories and clean them up. It is safe
to remove uninstallation and installation log files after you have examined
them. The installation directory is not automatically removed.
To Run the Uninstallation Program on Windows
Before You Begin
Make sure that you have stopped all domains and other related processes,
including command prompts using the installation directory or its subdirectories
and any applications using J2SE files bundled with the product.
If you do not stop all domains before the uninstallation, orphaned processes
might exist on your system after the uninstallation. On Windows, these processes
interfere with the uninstallation, because the uninstallation program is unable
to remove files that are in use. Identify the processes using the Task Manager
and terminate them using the End Task or End Process buttons.
Invoke the Uninstallation program in one of the following ways:
-
From the Windows Start menu, choose Programs ⇒ Sun Microsystems ⇒
Application Server PE 9⇒ 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 Java Platform, Enterprise
Edition 5 SDK for SDK distributions, or Sun Java System Application Server Platform Edition for Application Server distribution.
-
Click Remove.
The unistallation program removes the Application Server components. Some
files and directories remain after running the uninstallation program. Carefully
examine the remaining files and directories and clean them up. It is safe
to remove uninstallation and installation log files after you have examined
them. The installation directory is not automatically removed.