Stop all domains and other related processes, including command prompts using the installation directory or its subdirectories, the Update Tool notifier process if present, and any applications using Java SE files.
For more information about performing these tasks, see Chapter 2, Uninstalling Oracle GlassFish Server 3.0.1, in Oracle GlassFish Server 3.0.1 Installation Guide.
Change to the as-install-parent directory, which contains the uninstallation program.
Run the uninstallation program and remove the software.
Examine the contents of the remaining installation directories and remove any files or directories that you do not want, including hidden directories prefixed with a dot.