+

Search Tips   |   Advanced Search

Uninstall IBM WebSphere SDK Java Technology Edition v7.0 or 7.1 for Liberty using response files

We can uninstall IBM WebSphere SDK Java Technology Edition v7.0 or 7.1 for Liberty using Installation Manager response files.

Make sure that no commands or server profiles are using IBM WebSphere SDK Java Technology Edition v7.0 or 7.1 for Liberty before uninstalling it. Server profiles using IBM WebSphere SDK Java Technology Edition v7.0 or 7.1 for Liberty will not function if it is uninstalled.

Optional: Perform or record the installation of Installation Manager and installation of IBM WebSphere SDK Java Technology Edition v7.0 or 7.1 for Liberty to a temporary installation registry on one of the systems so we can use this temporary registry to record the uninstallation without using the standard registry where Installation Manager is installed.

Use Installation Manager, we can work with response files to uninstall IBM WebSphere SDK Java Technology Edition v7.0 or 7.1 for Liberty in a variety of ways. We can record a response file using the GUI as described in the following procedure, or we can generate a new response file by hand or by taking an example and modifying it.

  1. Optional: Record a response file to uninstall IBM WebSphere SDK Java Technology Edition v7.0 or 7.1 for Liberty: On one of the systems, perform the following actions to record a response file that will uninstall IBM WebSphere SDK Java Technology Edition v7.0 or 7.1 for Liberty:

    1. From a command line, change to the eclipse subdirectory in the directory where you installed Installation Manager.

    2. Start Installation Manager from the command line using the -record option.

      For example:

      • Administrator or non-administrator:

        IBMIM.exe -skipInstall "C:\temp\imRegistry" 
          -record C:\temp\uninstall_response_file.xml

      • Administrator:
        ./IBMIM -skipInstall /var/temp/imRegistry 
          -record /var/temp/uninstall_response_file.xml

      • Non-administrator:
        ./IBMIM -skipInstall user_home/var/temp/imRegistry 
          -record user_home/var/temp/uninstall_response_file.xml

      If we choose to use the -skipInstall parameter with a temporary installation registry created as described in Before you begin, Installation Manager uses the temporary installation registry while recording the response file. It is important to note that when the -skipInstall parameter is specified, no packages are installed or uninstalled. All of the actions that you perform in Installation Manager simply update the installation data that is stored in the specified temporary registry. After the response file is generated, it can be used to uninstall IBM WebSphere SDK Java Technology Edition v7.0 or 7.1 for Liberty, removing the files and updating the standard installation registry.

      The -skipInstall operation should not be used on the actual agent data location used by Installation Manager. This is unsupported. Use a clean writable location, and re-use that location for future recording sessions.

      For more information, read the IBM Installation Manager Information Center.

    3. Click Uninstall.

    4. In the Uninstall Packages window, perform the following actions.

      1. Select IBM WebSphere SDK Java Technology Edition v7.0 or 7.1 for Liberty and the appropriate version.

      2. Click Next.

    5. Review the summary information.

    6. Click Uninstall.

      • If the uninstallation is successful, the program displays a message that indicates success.

      • If the uninstallation is not successful, click View log to troubleshoot the problem.

    7. Click Finish.

    8. Click File > Exit to close Installation Manager.

  2. Use the response file to uninstall IBM WebSphere SDK Java Technology Edition v7.0 or 7.1 for Liberty: From a command line on each of the systems from which to uninstall IBM WebSphere SDK Java Technology Edition v7.0 or 7.1 for Liberty, change to the eclipse/tools subdirectory in the directory where you installed Installation Manager and use the response file that we created to uninstall IBM WebSphere SDK Java Technology Edition v7.0 or 7.1 for Liberty.

    For example:

    • Administrator or non-administrator:

      imcl.exe 
        input C:\temp\uninstall_response_file.xml 
        -log C:\temp\uninstall_log.xml

    • Administrator:
      ./imcl
        input /var/temp/uninstall_response_file.xml 
        -log /var/temp/uninstall_log.xml

    • Non-administrator:
      ./imcl
        input user_home/var/temp/uninstall_response_file.xml 
        -log user_home/var/temp/uninstall_log.xml

    Go to the IBM Installation Manager Information Center.

  3. Optional: List all installed packages to verify the uninstallation.

      ./imcl listInstalledPackages

      imcl listInstalledPackages


Example

The following is an example of a response file for uninstalling IBM WebSphere SDK Java Technology Edition v7.0 or 7.1 for Liberty.
<?xml version="1.0" encoding="UTF-8"?>
<agent-input clean='true' temporary='true'>
<uninstall modify='false'>
<offering id='com.ibm.websphere.liberty.IBMJAVA.v70' 
  profile='WebSphere Liberty V8.5'/>
</uninstall>
<profile id='WebSphere Liberty V8.5' 
  installLocation='C:\Program Files\IBM\WebSphere\Liberty'>
</profile>
</agent-input>


Parent topic: Install SDK Java Technology Edition v7.0 or 7.1 for Liberty on distributed operating systems

Tasks:
Install IBM WebSphere SDK Java Technology Edition v7.0 or 7.1 for Liberty using the GUI
Install IBM WebSphere SDK Java Technology Edition v7.0 or 7.1 for Liberty using the command line
Install IBM WebSphere SDK Java Technology Edition v7.0 or 7.1 for Liberty using response files
Install fix packs on IBM WebSphere SDK Java Technology Edition v7.0 or 7.1 for Liberty using the GUI
Uninstall fix packs from IBM WebSphere SDK Java Technology Edition v7.0 or 7.1 for Liberty using the GUI
Uninstall IBM WebSphere SDK Java Technology Edition v7.0 or 7.1 for Liberty using the GUI
Uninstall IBM WebSphere SDK Java Technology Edition v7.0 or 7.1 for Liberty using the command line




Terms and conditions for information centers