Part I. Installation Guide for CodeReady Studio

This guide details steps to install, uninstall, and upgrade CodeReady Studio that you may have installed using different methods.

Prerequisites

CodeReady Studio 12.12 is supported for use with a range of operating systems, architectures, and Java Development Kit combinations; for a complete list, see Supported Configurations and Components on the Red Hat Customer Portal.

Note

If you install CodeReady Studio on Windows in a folder accessible to all the users (example: C:\devstudio), this CodeReady Studio instance can be used by all the users. However, if the main installation folder is not writable by a given user, any newly installed feature and update gets saved inside the user’s home directory.

Minimum hardware requirements

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

Software requirements

  1. Install OpenJDK. Red Hat OpenJDK is recommended.

Installing OpenJDK 1.8.0 on 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 CodeReady Studio to use OpenJDK, follow the instructions at Working with JREs.

Installing OpenJDK 1.8.0 on RHEL

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

Use the following command to install the packages:

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