Verify that you have properly prepared and edited the state file for the host where you want to uninstall Java ES product components.
If you are not logged in as root, become superuser.
Navigate to the uninstaller directory:
Solaris OS: /var/sadm/prod/SUNWentsys5
Linux and HP-UX: /var/sadm/prod/sun-entsys5
Start the uninstaller. For example:
./uninstall -noconsole -state statefile_path
To see the full syntax for the uninstall command, refer to uninstall Command.