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