Chapter 2. Understanding JBoss Developer Studio Installation Prerequisites
2.1. Hardware and Software Requirements
JBoss Developer Studio 11.0 is supported for use with a range of operating system, architecture, and Java developer kit combinations; for a complete list, see https://access.redhat.com/articles/427493 on the Red Hat Customer Portal.
Following are the prerequisites for installing JBoss Developer Studio:
Minimum hardware requirements:
- 4 GB RAM (minimum 2 GB RAM)
- 2 GB hard disk space
- 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:
- Download the MSI-based installer from: http://developers.redhat.com/products/openjdk/overview/.
- Run the installer and follow the on-screen instructions to install.
- 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:
All the commands in the following procedure must be run as the root user.
Register and subscribe the system by running the following command:
# subscription-manager register
- When prompted, enter your Red Hat Customer Portal user name and password.
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.
To attach a subscription to your system, run the following command:
# subscription-manager attach --pool=<pool id from previous command>
To install OpenJDK RPMs:
# yum install java-1.8.0-openjdk-devel
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