Red Hat Training

A Red Hat training course is available for Red Hat JBoss Developer Studio

Chapter 10. Upgrading Red Hat JBoss Developer Studio

Depending on your need, refer to the following sections to upgrade Red Hat JBoss Developer Studio:

10.1. Upgrading Major Versions of Red Hat JBoss Developer Studio

Each major version of Red Hat JBoss Developer Studio is based on a different version of Eclipse. As a result, it is not possible to update an older major version of Red Hat JBoss Developer Studio to a newer major version. For example, it is not possible to update a devstudio 9.x installation to 10.x, nor is it possible to update a 10.x installation to 11.x. However, it is possible to use the workspaces created using Red Hat JBoss Developer Studio 10.x with Red Hat JBoss Developer Studio 11.x.

The following table details the version of Eclipse supported with each major version of Red Hat JBoss Developer Studio:

Table 10.1. Eclipse Version Support Matrix

Red Hat JBoss Developer Studio VersionBase Eclipse Version

JBoss Developer Studio 11.x

Eclipse Oxygen (4.7)

Red Hat JBoss Developer Studio 10.x

Eclipse Neon (4.6)

Red Hat JBoss Developer Studio 9.x

Eclipse Mars (4.5)

Red Hat JBoss Developer Studio 8.x

Eclipse Luna (4.4)

Red Hat JBoss Developer Studio 7.x

Eclipse Kepler (4.3)

Red Hat JBoss Developer Studio 6.x

Eclipse Juno (4.2)

10.2. Updating Minor Versions of Red Hat JBoss Developer Studio

You can update your Red Hat JBoss Developer Studio to the latest minor versions within the major release. For example, you can update your Red Hat JBoss Developer Studio 11.1 installation to 11.2.

Important

Before updating, back up your workspace. In addition to your project files, your workspace contains metadata about customized settings and preferences for the IDE. To back up your workspace, either copy the workspace directory to a backup location, or save it as a compressed file.

You may be automatically notified by the IDE when the Red Hat JBoss Developer Studio 11.y update is available, depending on your IDE settings for automatic updates.

Alternatively, use the following instructions to manually check for and apply the most recent Red Hat JBoss Developer Studio update:

  1. In the IDE, click Window > Preferences, expand Install/Update and click Available Software Sites.
  2. In the Available Software Sites table, ensure the URL https://devstudio.redhat.com/11/stable/updates/ is listed or, if not listed, add it.
  3. Close the Preferences window.
  4. Click Help > Check for Updates.
  5. For any Red Hat JBoss Developer Studio updates found, follow the on-screen instructions to apply the update.

During the update process, you may receive warnings about installing unsigned content. If this is the case, review the details of the content and if satisfied click OK to continue with the update.

After updating is complete, you are prompted to restart the IDE. Click Yes to restart immediately or No to save any unsaved changes to open projects. Note that IDE changes do not take effect until the IDE is restarted.

10.3. Updating Red Hat JBoss Developer Studio Installed Using RPM

Depending on whether you want to upgrade a major version of Red Hat JBoss Developer Studio or update a minor version of Red Hat JBoss Developer Studio, use one of the following methods:

10.3.1. Upgrading Major Versions of Red Hat JBoss Developer Studio Installed Using RPM

If you have installed JBoss Developer Studio 10.x using the RPM package, you can not update to Red Hat JBoss Developer Studio 11.x using the package manager. However, it is possible to retain rh-eclipse46 and also install rh-eclipse47, simultaneously.

To upgrade an existing Red Hat JBoss Developer Studio installation to a newer version, perform the following steps:

  1. To uninstall Red Hat JBoss Developer Studio completely, including Eclipse and the included plugins, use the following command:

    # yum remove rh-eclipse46\*
  2. To install rh-eclipse47 see, Chapter 7, Installing JBoss Developer Studio Using RPM.

10.3.2. Updating Minor Versions of Red Hat JBoss Developer Studio Installed Using RPM

To update Red Hat JBoss Developer Studio 11.x to 11.y, use the following command:

# yum update rh-eclipse47\*