Red Hat Training

A Red Hat training course is available for Red Hat Development Suite

Installation Guide

Red  Hat Development Suite 2.1

Installing Red  Hat Development Suite

Petra Sargent

Red Hat Developer Group Documentation Team

Abstract

Information for users installing Red  Hat Development Suite. This guide describes all prerequisites for a successful installation of the product.

Preface

Red Hat Development Suite combines Red Hat development tools such as Red Hat JBoss Developer Studio, the Red Hat Container Development Kit, and OpenJDK into a single, integrated developer experience.

Chapter 1. About Red Hat Development Suite

Red Hat Development Suite 2.1 is an installer that includes several Red Hat products such as Red Hat JBoss Developer Studio 11.1, Red Hat Container Development Kit 3.2 as well as some dependencies for each of these products. Red Hat Development Suite 2.1 also includes third party tools such as Kompose.

Red Hat Development Suite 2.1 is supported on the following platforms:

  • Windows 7, 8, and 10
  • macOS 10.9 or newer
  • Red Hat Enterprise Linux 7

Figure 1.1 shows Red Hat Development Suite with Red Hat JBoss Developer Studio and Red Hat Container Development Kit on the Windows platform.

Figure 1.1. Red Hat Development Suite

Red Hat Development Suite

1.1. Red Hat Development Suite Installation options

1.1.1. Red Hat Development Suite as an Online Installer

  • You can download Red Hat Development Suite as an Online Installer for Windows and macOS. The online installer downloads the required components during the installation process and is approximately 60 MB.

1.1.2. Red Hat Development Suite as a Bundled Installer

  • You can download Red Hat Development Suite as an Installer for Windows and macOS that has an initial download of approximately 1 GB and includes the following tools:

    • Red Hat Container Development Kit
    • Red Hat JBoss Developer Studio
    • OpenJDK
    • Cygwin

Red Hat JBoss Fuse Tooling, Red Hat JBoss Fuse on JBoss EAP, Red Hat JBoss Fuse on Apache Karaf, Red Hat JBoss Enterprise Application Platform, VirtualBox, and Kompose are not included in the installer and have to be downloaded during the installation time.

1.1.3. Red Hat Development Suite with the Standard Package Management System

Red Hat Enterprise Linux uses RPM packages to install Red Hat Container Development Kit, Red Hat JBoss Developer Studio, Red Hat JBoss Enterprise Application Platform, and Kompose.

1.2. Tools Included in Red Hat Development Suite

Red Hat Development Suite 2.1 includes the following tools:

Table 1.1. Tools included in Red Hat Development Suite

Included ProductWindowsmacOSRed Hat Enterprise Linux

Red Hat JBoss Enterprise Application Platform 7.0

Red Hat JBoss Developer Studio 11.1

Red Hat Container Development Kit 3.2

Kompose 1.3.0

Red Hat JBoss Fuse Tooling 10.0

Red Hat JBoss Fuse on JBoss EAP 6.4

Red Hat JBoss Fuse on Apache Karaf 6.3

OpenJDK 8u151

Oracle Java SE

Cygwin 2.9.0-3

Kompose 1.3.0


Red Hat Development Suite 2.1 supports the following hypervisors:

Table 1.2. Hypervisor Details

WindowsmacOSRed Hat Enterprise Linux

Hyper-V, VirtualBox 5.1.24

VirtualBox 5.1.24

KVM

Important

On macOS 64-bit hosts, VirtualBox works with versions 10.9 (Mavericks), 10.10 (Yosemite), and 10.11 (El Capitan). Intel hardware is required for these hosts. See VirtualBox Manual for details.

Hyper-V is available on 64-bit versions of Windows Professional, Enterprise, and Education in Windows 8 and later. It is not available on Windows Home edition. See Hyper-V Manual for details.

Chapter 2. System Requirements

The minimum system requirements for Red Hat Development Suite are:

  • 8 GB RAM
  • 20 GB disk space
  • CPU Intel i3 2GHz Processor

The recommended system requirements for Red Hat Development Suite are:

  • 16 GB RAM
  • 47 GB disk space
  • CPU Intel i5 2GHz or better

Chapter 3. Installing Red Hat Development Suite

3.1. Installing Red Hat Development Suite on Microsoft Windows and macOS

3.1.1. Prerequisites

  • Sign Up for the Red Hat Developer Program: Join the program here: Red Hat Developer Program. After signing up, you must wait approximately fifteen minutes to allow the new account information to propagate to the Red Hat Subscription Management system.
  • Ensure Virtualization is enabled on your machine.

    If macOS: In a terminal, run the sysctl -a | grep machdep.cpu.features command. The result will be a string of features. If the output includes VMX, as highlighted in the example, the machine has Virtualization enabled. If not enabled see your system’s documentation for instruction.

    If Windows: Ensure that Virtualization is enabled in your machine’s BIOS settings. If Red Hat Development Suite is run on a new system, ensure that Virtualization is enabled in the BIOS settings. This is required to run VirtualBox. See your system’s documentation for instructions to change BIOS settings.

  • Ensure that you are logged in as an Administrator.

    Note

    If Windows, do not run Red Hat Development Suite using a non-Administrator account with the Run as Administrator option because this does not supply the required permissions.

  • (Optional) Install Docker individually to use Docker for Windows: Red Hat Development Suite includes the Docker tooling, but to use the full version of Docker for Windows (Docker Machine or Boot2Docker), you must install Docker and test it before installing any Eclipse Docker tools. This is only applicable to using Docker outside of JBoss Developer Studio, such as Docker for Windows or Docker for macOS.
  • Ensure that Java SE 1.8.0 is installed:

    If macOS: Download and install Java SE 1.8.0 Build 111 from the Oracle website: Java Download.

3.1.2. Downloading and Setting up Red Hat Development Suite

Before you install Red Hat Development Suite, you have to prepare your environment.

  1. Log in and download Red Hat Development Suite from the Red Hat Developers Portal product download page.
  2. If macOS: Unzip the macOS installers. If you are using the Safari browser, the macOS installer is automatically unzipped.

    If Windows: Go to the next step.

  3. Run the downloaded installation file.
  4. On the Welcome window, click Next to continue.
  5. On the Target Folder window, add a path to the target directory for the Red Hat Development Suite installation.

    If macOS: The default path for macOS is /Applications/DevelopmentSuite.

    If Windows: The default path for Windows is c:\Program Files\DevelopmentSuite.

    Figure 3.1. Set the Target Directory

    Set the Target Directory
  6. On the Target Folder window, click Next to continue.

    Note

    You can not use spaces in the Windows username. Section 5.1, “Terms and Conditions Error” See for troubleshooting information for this error.

3.1.3. Installing Red Hat Development Suite

To install the entire Red Hat Development Suite, take these steps:

  1. On the Selection window, click Select All.

    Figure 3.2. Selection

    Selection
    Note

    The Selection window lists the components that Red Hat Development Suite downloads and installs. Red Hat Development Suite detects existing installations of components based on the PATH environment variable. You can uninstall the older or unsupported version of components without exiting the installer. Once Red Hat Development Suite detects that the older or unsupported version of the component is uninstalled, you can continue with the selection. Red Hat Development Suite does not detect existing installation of Kompose. See Kompose for more information on Kompose.

    The following components are not selected by default: Red Hat JBoss Fuse Tooling, Red Hat JBoss Fuse on JBoss EAP, Red Hat JBoss Fuse on Apache Karaf, Red Hat JBoss Enterprise Application Platform, and Cygwin.

  2. On the Selection window, click Next to continue.
  3. On the Confirmation window, verify the confirmation summary.
  4. On the Confirmation window, click Next to continue.
  5. On the Account window, enter your existing Red Hat Developer login credentials.
  6. On the Account window, click Download and Install to continue.

Go to Section 3.1.7, “Next Steps After Installation on Microsoft Windows and macOS”

3.1.4. Installing only Red Hat Container Development Kit

To install Red Hat Container Development Kit by itself, take these steps:

  1. On the Selection window, click Clear All.

    Figure 3.3. Selection

    Selection
  2. On the Selection window, select the Red Hat Container Development Kit checheck box.
  3. If macOS: Go to next step.

    If Windows: Use Oracle VirtualBox (preselected) or enable Hyper-V. If you want to enable Hyper-V, do this from the Windows Features panel, reboot and restart Red Hat Development Suite. Once Red Hat Development Suite detects that Hyper-V is enabled, VirtualBox no longer displays on the component list.

    Figure 3.4. Enable Hyper-V

    Enable Hyper-V
  4. On the Selection, click Next to continue.
  5. On the Confirmation window, verify the summary of selected components.
  6. On the Confirmation window, click Next to continue.
  7. On the Account window, enter your existing Red Hat Developer login credentials.
  8. On the Account window, click Download and Install to continue.

Go to Section 3.1.7, “Next Steps After Installation on Microsoft Windows and macOS”

3.1.5. Installing Red Hat JBoss Tools

You can install any combination of these tools:

  • Red Hat JBoss Developer Studio
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat JBoss Fuse on JBoss EAP
  • Red Hat JBoss Fuse on Apache Karaf
  • Red Hat JBoss Fuse Tooling

Follow these steps:

  1. On the Selection window, click Clear All button.

    Figure 3.5. Selection

    Selection
  2. On the Selection window, select the component(s) to install. OpenJDK is selected by default.

    Note

    When you select the Red Hat JBoss Fuse Tooling check box, the installation automatically selects Red Hat JBoss Developer Studio and OpenJDK.

  3. On the Selection window, click Next to continue.
  4. On the Confirmation window, verify the summary of selected components.
  5. On the Confirmation window, click Next to continue.
  6. On the Account window, enter your existing Red Hat Developer login credentials.
  7. On the Account window, click Download and Install to continue.

Go to Section 3.1.7, “Next Steps After Installation on Microsoft Windows and macOS”

3.1.6. Installing Third Party Tools (VirtualBox, Cygwin, Kompose, OpenJDK):

To only install any of the tools (VirtualBox, Cygwin, Kompose, OpenJDK):

  1. On the Selection window, click Clear All.

    Figure 3.6. Selection

    Selection
  2. On the Confirmation window, select the check box of any of the components as desired.
  3. Click Download and Install to continue.

Go to Section 3.1.7, “Next Steps After Installation on Microsoft Windows and macOS”

3.1.7. Next Steps After Installation on Microsoft Windows and macOS

When complete, Red Hat Development Suite indicates that the download and install were successful and provides a link to the Red Hat Container Development Kit Getting Started page. Depending on what you want to do next, you can either:

  • Option 1. Start learning about Red Hat Container Development Kit.

    Note

    For Windows, you must log off and log in again in order to run CDK without administrative privileges if Hyper-V is enabled.


  • Option 2. Start a local OpenShift cluster with minishift:

    minishift start --cpus 3 --disk-size 20g

    See the Minishift page to learn about using minishift.


  • Option 3. Start using the Red Hat Container Development Kit Server Adapter:

    To use the Red Hat Container Development Kit Server Adapter , click Open Red Hat JBoss Developer Studio:

    1. Set up a workspace folder, as prompted.
    2. Click the Servers tab to view the configured Red Hat Container Development Kit server adapter.
    3. Right-click the server and select Start to initiate the Red Hat Container Development Kit server.
    4. When prompted, enter your Red Hat Customer Portal credentials and click OK. The Console tab displays the details of the Red Hat Container Development Kit server.
    5. When prompted, read the details of the new SSL certificate for OpenShift and click Yes to accept it.
    6. Click the OpenShift Explorer tab to view the new OpenShift server and sample project.

      Note

      After installation, the admin console password can be changed for JBoss EAP and JBoss Fuse run times.

      • To reset the password for JBoss Fuse on Apache Karaf, update the following file with the new password: ${targetfolder}\fuseplatformkaraf\etc\users.properties
      • To reset the password for Red Hat JBoss Enterprise Application Platform and for Red Hat JBoss Fuse on JBoss EAP, run the script located in $JBoss_HOME/bin/add-user.sh (for Red Hat Enterprise Linux) or $JBoss_HOME\bin\add-user.sh (for Windows).

3.2. Installing Red Hat Development Suite on Red Hat Enterprise Linux

Red Hat Development Suite includes the following packages:

  • rh-devsuite - includes Red Hat JBoss Developer Studio, Red Hat Container Development Kit, OpenJDK, and Kompose all integrated together
  • rh-eclipse47-devstudio - Red Hat JBoss Developer Studio 11.1
  • cdk-minishift - Red Hat Container Development Kit 3.2
  • docker-machine-kvm - Red Hat Container Development Kit minishift kvm driver


3.2.1. Prerequisites

Ensure that the following prerequisites are met when installing Red Hat Development Suite on Red Hat Enterprise Linux:

  • Sign Up for the Red Hat Developer Program: Join the program here: Red Hat Developer Program. After signing up, you must wait approximately fifteen minutes to allow the new account information to propagate to the Red Hat Subscription Management system.
  • Enable the rhel-7-server-devtools-rpms repository on Red Hat Enterprise Linux server or enable the rhel-7-workstation-devtools-rpms repository on Red Hat Enterprise Linux workstation
  • Enable the rhel-server-rhscl-7-rpms repository
Note

Red Hat Developer Tools is not supported on the Client or the ComputeNode variant.

To enable the Red Hat Developer Tools repositories:

  1. Run the following commands as the root user:

    # subscription-manager repos --enable rhel-7-server-devtools-rpms
    # subscription-manager repos --enable rhel-server-rhscl-7-rpms
    Note

    In the above command, depending on the variant of Red Hat Enterprise Linux that you are using, server or workstation, the commands will be:

    • For the workstation variant: subscription-manager repos --enable rhel-7-workstation-devtools-rpms
    • For the server variant: subscription-manager repos --enable rhel-7-server-devtools-rpms

    For developers, we recommend using Red Hat Enterprise Linux Server for access to the widest range of development tools.

    For more information on registering and attaching subscriptions, see Using and Configuring Red Hat Subscription Management.

  2. To add the Red Hat Developer Tools key to your system, run the following commands as the root user:

    # cd /etc/pki/rpm-gpg
    # wget -O RPM-GPG-KEY-redhat-devel https://www.redhat.com/security/data/a5787476.txt
    # rpm --import RPM-GPG-KEY-redhat-devel

3.2.2. Installing Red Hat Development Suite

To install Red Hat Development Suite with all components, run the following command as root:

# yum -y install rh-devsuite


3.2.3. Installing Red Hat JBoss Developer Studio

To only install Red Hat JBoss Developer Studio, run the following command as root:

# yum -y install rh-eclipse47-devstudio

3.2.4. Installing Red Hat Container Development Kit

To only install Red Hat Container Development Kit, run the following command as root:

# yum -y install cdk-minishift

3.2.5. Next Steps After Installation on Red Hat Enterprise Linux

To run Red Hat JBoss Developer Studio:

  1. Use Applications→Programming→Red Hat Eclipse 4.7 launcher


To set up Red Hat Container Development Kit :

  1. Run the following command as root to create a symbolic link for minishift:

    # ln -s /var/lib/cdk-minishift-3.2.2/minishift /usr/bin/minishift
  2. Run the following command as a regular user to install required CDK components:

    $ minishift setup-cdk --force --default-vm-driver="kvm"
  3. Run the following command as root to create a symbolic link:

    # ln -s /home/$(whoami)/.minishift/cache/oc/v3.5.5.8/oc /usr/bin/oc

See the Minishift page to learn about using minishift.


Chapter 4. Upgrading Red Hat Development Suite

There is no current path to upgrade from Red Hat Development Suite 2.0 to 2.1. To use version 2.1, uninstall Red Hat Development Suite 2.0 and then install Red Hat Development Suite 2.1.

Note the following considerations when uninstalling to upgrade to the newer version of Red Hat Development Suite:

  • Only VirtualBox version 5.1.22 is supported. If a VirtualBox version older than 5.1.22 is installed, manually uninstall this component before upgrading to new version.
  • Both the Online and Bundled Red Hat Development Suite installers require a manual uninstall and then a fresh installation with the new version of the installer.

Chapter 5. Troubleshooting

To troubleshoot a general installation failure, click the Details button on the Download and Install window to see the contents of the installer.log file. The installer log file is automatically created in the installation target directory. Depending on when the installation failed, the directory can contain additional log files for VirtualBox and OpenJDK.

Figure 5.1. Download and Install

Download and Install

5.1. Terms and Conditions Error

Error: “Terms and Conditions for CDK have not been signed”

If your Windows user has a space in the username, the installer displays an error. This error appears on the Log In page when installing Red Hat Development Suite. The workaround for this issue is to log into Red Hat Developers Progrom and download Red Hat Container Development Kit. This triggers all the required Terms and Conditions approvals (if any are needed).

A user who wants to download and use Red Hat Container Development Kit must become a member of the Red Hat Developer Program. Sign up for the program here: Red Hat Developers Program.

5.2. OpenShift Console Inaccessible on Microsoft Edge Browser

The OpenShift Console web address does not work on Microsoft’s Edge Browser. This is a known issue, and the only workaround is to use a different browser to access the console.

5.3. Reporting an Issue

If you encounter issues other than the ones listed in this section, you may report an issues by:

  1. Right click the Download and Install window (or any Red Hat Development Suite window) to go to the menu.
  2. From the menu list, click About Red Hat Development Suite to go the the About window.
  3. From the About window, click Report issues.

if macOS:

  1. Click About on the Touch Bar.

    Figure 5.2. Touch Bar

    Touch bar
  2. Click Report Issues to view Report issues.

    Figure 5.3. Touch Bar with Documentation, Release Notes, and Report Issues

    Touch Bar with Documentation

Chapter 6. Uninstalling Red Hat Development Suite

6.1. Uninstalling Red Hat Development Suite on Microsoft Windows

6.1.1. Uninstalling using Powershell

On Microsoft Windows, Red Hat Development Suite includes a Powershell-based uninstaller in the product’s installation directory (${target-folder}/uninstaller/uninstall.ps1).

Note

Installing Red Hat Development Suite creates an Uninstall Developer Studio option in Microsoft Windows. This uninstaller only removes JBoss Developer Studio, and not any additional components installed for Red Hat Development Suite. Use the following instructions to completely remove all Red Hat Development Suite components from your machine.

The uninstall script removes everything installed into the installation target directory. As a result, previously installed components detected during the installation are not affected.

The uninstaller runs corresponding MSI uninstallers for VirtualBox and OpenJDK. It also cleans up the PATH variables and removes the ${target-folder} folder.

To uninstall Red Hat Development Suite, run the script in one of two ways:

  1. Use the command prompt (cmd) to run the file.

    1. Use the Powershell with the following command:

      powershell -ExecutionPolicy bypass -File ${target-folder}\uninstaller\uninstall.ps1
      Note

      Do not run the uninstall script from within ${target-folder} or run the ps1 file from the context menu. This results in locking the ${target-folder}\uninstaller folder and the PowerShell script is not removed after the uninstall process completes.

  2. Use the Run with Powershell menu item:

    1. Navigate to:

      ${target-folder}\uninstaller\uninstall.ps1
    2. Highlight uninstall.ps1 and Right-Click
    3. Select 'Run with Powershell'

6.1.2. Uninstalling from Control panel

To uninstall Red Hat Development Suite from the Control Panel:

  1. Right-click the Start button and click Control Panel.
  2. Click Program.
  3. Click Programs and Features.
  4. Double Click Red Hat Development Suite to uninstall.

6.1.3. Uninstalling from Settings

To uninstall Red Hat Development Suite from the Settings menu:

  1. Go to Settings.
  2. Click System to show a list of the system settings.
  3. Click Apps & Features from the left pane to show a list of features and applications.
  4. Click Red Hat Development Suite.
  5. Click Uninstall to uninstall Red Hat Development Suite.
  6. Click Uninstall button to confirm.

6.2. Uninstalling Red Hat Development Suite on macOS

For macOS users, uninstall Red Hat Development Suite as follows:

  1. Manually delete the installation folder for your Red Hat Development Suite installation.
  2. Follow the uninstall instructions for each of the individual components for macOS to remove them manually.

6.3. Uninstalling Red Hat Development Suite on Red Hat Enterprise Linux

For Red Hat Enterprise Linux users, uninstall Red Hat Development Suite as follows:

sudo yum autoremove rh-devsuite

Legal Notice

Copyright © 2017 Red Hat, Inc.
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
Node.js® is an official trademark of Joyent. Red Hat Software Collections is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
The OpenStack® Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.