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 uninstallation is complete, carefully examine the installation directory contents and remove the remaining files or directories that you do not require.