Java ES provides an uninstallation program for removing component products that were installed on your local host using the Java ES installer. The Java ES uninstaller checks product dependencies for the host on which it is running, issuing warnings when it discovers a dependency.
The uninstaller can be run in graphical, text-based, or silent mode.
After Java ES installation is complete, the uninstaller is located here:
Solaris OS: /var/sadm/prod/SUNWentsys4