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.
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
- 4 GB RAM (minimum 2 GB RAM)
- 2 GB hard disk space
Software requirements
- 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:
- 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 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:
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 username 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
Use the following command to install the packages:
# yum install java-1.8.0-openjdk-src java-1.8.0-openjdk-demo