Make sure that you have stopped all domains and other related processes, including deploytool, command prompts using the installation directory or its subdirectories, and any applications using Java 2 Platform, Standard Edition (J2SE platform) 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.
If using the HADB , stop the HADB and any associated ma processes.
Invoke the uninstallation program in one of the following ways:
Under the Sun Microsystems, Application Server EE program group in the Start Programs area of your desktop, click Uninstall.
In install-dir, double-click uninstall.exe.
Invoke the uninstall program through the Control Panel:
The Application Server directory is not automatically removed when you uninstall the product.