Use this procedure if you have installed the Sun GlassFish Enterprise Server available from http://www.sun.com/downloads using the file-based installer.
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® platforms, identify the processes using the ps -ef command and terminate them using the kill command. Stop HADB and any associated ma processes, if you are using HADB.
To uninstall the Enterprise 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 Enterprise Server installation directory.
Invoke the uninstallation program as follows:
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:
After uninstallation is complete, carefully examine the installation directory contents and remove the remaining files or directories that you do not require.