Red Hat Training

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

Chapter 2. Understanding JBoss Developer Studio Installation Prerequisites

2.1. Hardware and Software Requirements

JBoss Developer Studio 11.2 is supported for use with a range of operating systems, architecture, and Java developer kit combinations; for a complete list, see https://access.redhat.com/documentation/en-us/red_hat_jboss_developer_studio/11.2/html/supported_configurations_and_components/ on the Red Hat Customer Portal.

Following are the prerequisites for installing JBoss Developer Studio:

  1. Minimum hardware requirements:

    1. 4 GB RAM (minimum 2 GB RAM)
    2. 2 GB hard disk space
  2. Software requirements:

    1. Install JDK 8 (Red Hat OpenJDK is recommended)

2.2. Installing OpenJDK 8

Unless you already have Java 8 installed on your system, use the OpenJDK distribution provided by Red Hat. This section describes how to install OpenJDK by Red Hat on Microsoft Windows and Red Hat Enterprise Linux.

2.2.1. Installing OpenJDK on Microsoft Windows

To install OpenJDK 1.8.0 on Windows using the MSI-based installer:

  1. Download the MSI-based installer from: http://developers.redhat.com/products/openjdk/overview/.
  2. Run the installer and follow the on-screen instructions to install.
  3. To configure JBoss Developer Studio to use OpenJDK, follow the instructions at Working with JREs.

2.2.2. Installing OpenJDK on Red Hat Enterprise Linux

To install OpenJDK 1.8.0 on Red Hat Enterprise Linux:

Note

All the commands in the following procedure must be run as the root user.

  1. Register and subscribe the system by running the following command:

    # subscription-manager register
  2. When prompted, enter your Red Hat Customer Portal username and password.
  3. To find a suitable subscription, such as Developer Subscription, run the following command:

    # subscription-manager list --available

    This command lists the available subscriptions and details of the subscriptions. Note down the pool ID of the appropriate subscription.

  4. To attach a subscription to your system, run the following command:

    # subscription-manager attach --pool=<pool ID from previous command>
  5. To install OpenJDK RPMs:

    # yum install java-1.8.0-openjdk-devel
Note

Install the java-1.8.0-openjdk-demo package for examples of Java applications and the java-1.8.0-openjdk-src package to debug your applications. Both packages are available from the Optional repository. Use the following command to enable that repository on your system:

# subscription-manager repos --enable=rhel-7-server-optional-rpms

Substitute the version number in the above command with 6 if you use Red Hat Enterprise Linux 6.

Use the following command to install the packages:

# yum install java-1.8.0-openjdk-src java-1.8.0-openjdk-demo