Navigate to the bin directory in the Web Server installation directory (by default /sun/webserver7/bin on UNIX, and C:\Program Files\Sun\WebServer7\bin on Windows).
Start the uninstallation program with the following command:
(UNIX) ./uninstall --console
(Windows) uninstall --console
The command-line uninstall interface displays.
Select Uninstall Now to proceed with the installation.