C H A P T E R  6

Uninstalling Java Studio Enterprise (Solaris OS)

An uninstaller is provided to remove the Java Studio Enterprise software. You must uninstall with the same user privileges required during the installation.

This chapter covers:


Using the GUI Uninstaller

Use the Sun Java Studio Enterprise 7 uninstaller to uninstall this software from your Solaris system.



caution icon

Caution - Do not attempt to use rm -ror pkgrmcommands to uninstall the any part of this software. Failure to use the uninstaller will most likely result in a corrupted system.




procedure icon  To Uninstall Java Studio Enterprise Software

1. Exit and shut down the IDE before starting this procedure.

2. Enable client access to the X server by typing:


% xhost + machine-name

3. Become a superuser (root).

4. Set your display environment variable to display to your local machine.


% setenv DISPLAY machine-name:0.0

5. Change to the java-studio-install-dir. For example:


#cd /opt/SUNWjstudio04q4

6. Start the uninstaller wizard.


# ./uninstall

The uninstaller starts and the Welcome screen appears.

7. Click Next.

The Product Selection page appears.

8. Select the products you wish to uninstall.

Pay close attention to any warning messages seen. The uninstaller does not prevent you from uninstalling component products that may be used by other Java Studio Enterprise component products still on your system.

9. Click Next to start the uninstallation process.

Uninstallation may take several minutes.

10. When the uninstallation is complete, click Close.

11. Check the java-studio-install-dir.

A successful uninstallation of all of the Java Studio Enterprise software leaves an empty java-studio-install-dir.

If your directory contains other files, you might have installed add-on products or the uninstallation might be incomplete. If you uninstalled individual component products, then the remaining product installation directories should still exist.



Note - The java-studio-install-dir is not deleted by the uninstaller.



12. Examine the uninstall log files for error messages.

The log files are found in the directory /var/sadm/install/logs.The log file names are of the following format:

If you suspect your uninstallation was incomplete, see Chapter 15 for information about fixing a failed uninstallation.

13. (Optional) If the uninstallation was successful, delete the remaining directory.


# rm -r java-studio-install-dir



Note - Only delete the remaining directory if you uninstall all of the Java Studio Enterprise software and are certain that you do not need the files any longer.



Use this command to remove the log files and the installation directory only. Do not attempt to remove the product files using this command. You must run the uninstaller successfully before removing these log files and the directory in which they reside.

14. Disable client access and exit from superuser privileges.


# xhost - machine-name
# exit


Uninstalling Software in Silent Mode

Silent uninstallation is useful for automated uninstallation of Java Enterprise System components on multiple hosts that share similar configurations. See Chapter 7 for details.