Uninstallation can leave behind product component files or packages. In such a case, you might need to manually remove the files or packages before you can reinstall Java ES. The installer reports that the product component is on the host, even though you thought you removed it.
The following might have occurred:
The uninstallation failed and an error message provided the name of the package that was not uninstalled, but no one resolved the problem.
The uninstallation failed but the error was not detected, so you believe packages were uninstalled when they were not.
Use the following command to determine whether any packages were partially installed.
Solaris OS: pkginfo -p
Linux: rpm -qa |grep —I ^sun | xargs rpm -V
HP-UX: swlist -l product sun-*
The command output lists any partially installed packages. Using the package names returned, refer to Chapter 5, List of Installable Packages, in Sun Java Enterprise System 5 Installation Reference for UNIX to discover what product component the packages belong to.
Remove components or packages.
On Solaris 9 or 10, use the prodreg tool.
The prodreg tool manages the package-based components on your host. You can view product components and their packages, with full information, including interdependencies. You can use the prodreg tool to safely uninstall product components and remove packages. Once you have removed a product component with the prodreg tool, you can reinstall.
On Linux, use the rpm -e command.
To edit the product registry file, open the file /var/opt/sun/install/productregistry. This XML file describes each product component. Each product component description starts with a <compid\> tag and ends with a </compid\> tag. Delete the entire entry for the product component.
On HP-UX, use the swremove command.
To edit the product registry file, open the file /var/adm/swproductregistry. This XML file describes each product component. Each product component description starts with a <compid\> tag and ends with a </compid\> tag. Delete the entire entry for the product component.
Verify that the following directories do not contain Java ES product components or packages:
Run the installer again.