C H A P T E R  9

Uninstalling the IDE

An uninstaller wizard is available to remove the Java Studio Mobility IDE. You must uninstall the IDE with the same user privileges required during the installation.

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 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 Java Studio Mobility 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 jstudio-install-directory.

A successful uninstallation leaves the following files and folders:

jstudio-install-directory

install.log

uninstall.log

If the uninstallation was successful, uninstall.log is not created. If your jstudio-install-directory 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 jstudio-user-directory is not deleted during uninstallation.



10. Examine the jstudio-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 Java 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 or 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. If you installed the IDE as a superuser, become a superuser.

5. Start the uninstaller wizard.

# java -jar /jstudio-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 jstudio-install-directory.

A successful uninstallation leaves the following directories and files:

jstudio-install-directory

uninstall.log

install.log

jstudio-install-directory/_uninst

If the uninstallation was successful, uninstall.log is not created. If your jstudio-install-directory directory contains other files, you might have installed add-on products or the uninstallation might be incomplete.



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



9. If the installation was incomplete, examine the jstudio-install-directory/uninstall.log file for error messages.

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

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

# rm -r jstudio-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.

If you uninstalled as a superuser, exit from superuser privileges.


procedure icon  To Uninstall the IDE (Solaris OS)



Caution - Use the Sun Java 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 J2SE version 1.4.1_02 or other J2SE version 1.4.x available on your system.

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

% setenv DISPLAY your-machine-name:0.0

4. If you installed the IDE as a superuser, become a superuser (root).

5. Start the uninstaller wizard.

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

The Welcome screen appears.

6. Click Next and follow the instructions.

The uninstaller wizard uninstalls the IDE.

7. Click Finish.

8. Check the jstudio-install-directory.

A successful uninstallation leaves the following directories and files:

jstudio-install-directory

uninstall.log

install.log

jstudio-install-directory/_uninst

If the uninstallation was successful, uninstall.log is not created. If your jstudio-install-directory directory contains other files, you might have installed add-on products or the uninstallation might be incomplete.



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



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

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

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

# rm -r jstudio-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.

11. If you uninstalled the IDE as a superuser, exit from superuser privileges.

# exit