If you are not logged in as root, become superuser.
Navigate to the uninstaller directory:
Solaris OS: /var/sadm/prod/SUNWentsys4
Linux: /var/sadm/prod/sun-entsys4
Run the uninstaller:
./uninstall -nodisplay |
The Welcome message is displayed followed by a list of all possible Java ES components on your system.