C H A P T E R  11

Uninstalling the IDE

An uninstaller wizard is available to remove the Sun ONE Studio 5 IDE. You must uninstall the IDE and the Sun ONE Application Server with the same user privileges required during the installation. On a Solaris or Linux system, you must be a superuser. On a Microsoft Windows system, you must have administrative privileges.

This chapter describes how to uninstall each of the supported platforms:


Using the Uninstaller


procedure icon  To Uninstall the IDE (Microsoft Windows Platform)

Use the Microsoft Windows Add/Remove utility to uninstall in the Windows operating environment.

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

2. Ensure that you have at least J2SE version 1.4.1_02 available on your system.

3. Choose Start > Settings > Control Panel.

The Control Panel dialog box appears.

4. Double-click Add/Remove Programs.

5. Select Sun ONE Studio 5, Standard Edition from the list of currently installed programs.

6. Click Change/Remove.

The InstallShield Wizard prepares the uninstaller wizard and the Welcome panel appears.

7. Click Next and follow the instructions.

When the uninstallation is complete, the final Summary panel appears.

8. Click Finish.

9. Check the s1studio-install-directory.

A successful uninstallation leaves the following files and folders:

s1studio-install-directory

install.log

uninstall.log

s1studio-install-directory\appserver7

statefile

uninstall.exe

uninstall.log

s1studio-install-directory\appserver7\bin

icudt2.dll

icuin2.dll

icule2.dll

icuuc2.dll

s1studio-install-directory\appserver7\bin\lib

s1studio-install-directory\appserver7\bin\share\bin

If your s1studio-install-directory/appserver7 directory contains other files, you might have installed add-on products or the uninstallation might be incomplete. See Identifying and Fixing an Incomplete Uninstallation for more information.



Note - The s1studio-user-directory is not deleted during uninstallation.



10. Examine the s1studio-install-directory\uninstall.log file for error messages.

11. If the uninstallation was successful, you can delete the remaining directories and files.


procedure icon  To Uninstall the IDE (Linux Systems)



Caution - You must use the Sun ONE Studio uninstaller to uninstall this software from your Linux system. Do not attempt to use rpm -e commands to uninstall the IDE. Failure to use the uninstaller might result in a corrupted system.



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

2. Ensure that you have at least J2SE version 1.4.1_02 available on your system.

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

For example, if you use the bash shell, type:

% export DISPLAY=your-local-machine:0.0

4. Become a superuser.

5. Start the uninstaller wizard.

# java -jar /s1studio-install-directory/_uninst/uninstall.jar

The uninstaller's Welcome screen appears.

6. Click Next and follow the instructions.

The uninstaller wizard uninstalls the IDE.

7. Click Finish.

8. Check the s1studio-install-directory.

A successful uninstallation leaves the following directories and files:

s1studio-install-directory

uninstall.log

install.log

s1studio-install-directory/appserver7

uninstall

statefile

uninstall.log

s1studio-install-directory/_uninst

If your s1studio-install-directory/appserver7 directory contains other files, you might have installed add-on products or the uninstallation might be incomplete.



Note - The s1studio-user-directory is not deleted during uninstallation.



9. Examine the s1studio-install-directory/uninstall.log file for error messages.

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

10. If the uninstallation was successful, you can delete the remaining directories and files.

# rm -r s1studio-install-directory

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

11. Exit from superuser privileges.


procedure icon  To Uninstall the IDE (Solaris OS)



Caution - Use the Sun ONE Studio uninstaller to uninstall this software from your Solaris system. Do not attempt to use rm -r or pkgrm commands to uninstall the IDE. Failure to use the uninstaller might result in a corrupted system.



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

2. Ensure that you have at least J2SE version 1.4.1_02 available on your system.

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

% xhost + your-machine-name

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

% setenv DISPLAY your-machine-name:0.0

5. Become a superuser (root).

6. Start the uninstaller wizard.

# java -jar /s1studio-install-directory/_uninst/uninstall.jar

The Welcome screen appears.

7. Click Next and follow the instructions.

The uninstaller wizard uninstalls the IDE.

8. Click Finish.

9. Check the s1studio-install-directory.

A successful uninstallation leaves the following directories and files:

s1studio-install-directory

uninstall.log

install.log

s1studio-install-directory/appserver7

uninstall

statefile

uninstall.log

s1studio-install-directory/_uninst

If your s1studio-install-directory/appserver7 directory contains other files, you might have installed add-on products or the uninstallation might be incomplete.



Note - The s1studio-user-directory is not deleted during uninstallation.



10. Examine the s1studio-install-directory/uninstall.log file for error messages.

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

11. If the uninstallation was successful, delete the remaining directories and files. :

# rm -r s1studio-install-directory

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.

12. Disable client access and exit from superuser privileges.

# xhost - your-machine-name
# exit