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.
Do not manually delete files or directories from your Application Server installation. Always use 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.
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:
To use the uninstallation that has a command-line interface, at the command prompt, type:
Use the -javahome option to provide a path to a JRE installation if the uninstaller is unable to locate it on your machine.
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:
After you uninstallation is complete, carefully examine the installation directory contents and remove the remaining files or directories that you do not require.