Installation Guide
Installing Red Hat CodeReady Studio
Abstract
Chapter 1. Minimal requirements
CodeReady Studio 12.15 is compatible with a range of operating systems, architectures, and Java Development Kit combinations. For a complete list, see Supported Configurations and Components.
Hardware requirements
2 GB RAM
- 4 GB RAM is strongly recommended.
- 2 GB hard disk space
Software requirements
Installed OpenJDK.
- Red Hat OpenJDK is strongly recommended.
On Windows, to make CodeReady Studio instance available to all users install it in a folder accessible to all users (C:\codereadystudio
). If the main installation folder is not writable by a given user, any newly installed features and updates get saved inside the home directory of the user.
Chapter 2. Installing OpenJDK
The following section describes how to install OpenJDK on Microsoft Windows and Red Hat Enterprise Linux (RHEL).
2.1. Installing OpenJDK 1.8.0 on Windows
The following section describes how to install OpenJDK 1.8.0 on Windows using the MSI-based installer.
Procedure
- Download the MSI-based installer from http://developers.redhat.com/products/openjdk/overview/.
- Run the installer and follow the on-screen installation instructions.
- Configure CodeReady Studio to use OpenJDK by following the instructions at Working with JREs.
2.2. Installing OpenJDK on RHEL
The following section describes how to install OpenJDK 1.8.0 and OpenJDK 11 on RHEL.
Prerequisites
-
Root
access. - Registered system with attached subscriptions. See Registering the system and managing subscriptions for more details.
2.2.1. Installing OpenJDK 1.8.0 on RHEL
The following section describes how to install OpenJDK 1.8.0 on RHEL.
Procedure
To install OpenJDK RPMs, use:
# yum install java-1.8.0-openjdk-devel
Optionally, you can install the java-1.8.0-openjdk-src and the java-1.8.0-openjdk-demo packages. The java-1.8.0-openjdk-src package contains the complete OpenJDK 8 class library source code you can use with IDE indexers and debuggers. The java-1.8.0-openjdk-demo package contains Java runtimes for OpenJDK (demos and examples).
To install java-1.8.0-openjdk-demo and java-1.8.0-openjdk-src, use:
# yum install java-1.8.0-openjdk-src java-1.8.0-openjdk-demo
2.2.2. Installing OpenJDK 11 on RHEL
The following section describes how to install OpenJDK 11 on RHEL.
Procedure
To install OpenJDK RPMs, use:
# yum install java-11-openjdk-devel
Optionally, you can install the java-11-openjdk-src and the java-11-openjdk-demo packages. The java-11-openjdk-src package contains the complete OpenJDK 8 class library source code you can use with IDE indexers and debuggers. The java-11-openjdk-demo package contains Java runtimes for OpenJDK (demos and examples).
To install java-11-openjdk-demo and java-11-openjdk-src, use:
# yum install java-11-openjdk-src java-11-openjdk-demo
If you are unable to login to OpenShift 4.4.0 cluster, use JDK 8 with SSL protocol set to default or configure your Java to use TLSv1.2 as your SSL protocol. To configure Java to use TLSv1.2, use the java -Djdk.tls.client.protocols=TLSv1.2 MyApplication.jar
command. Replace MyApplication with the name of the application.
2.2.3. Additional resources
- For more information on how to install, run, and switch between two parallel installed major OpenJDK versions on RHEL8, see https://developers.redhat.com/blog/2018/12/10/install-java-rhel8/.
Chapter 3. Installing CodeReady Studio
The following section describes how to install CodeReady Studio:
Note that you can have multiple versions of CodeReady Studio installed on your system with Installer or Eclipse, provided you have these versions located in different directories.
3.1. Installing CodeReady Studio in Eclipse
CodeReady Studio for Eclipse packages the CodeReady Studio plug-ins for your existing Eclipse instance. You can install CodeReady Studio from the Eclipse Marketplace when you are online. This installation method is referred to as BYOE (Bring Your Own Eclipse). Alternatively, you can use the Update Site Zip
to install CodeReady Studio when you are offline.
The following section describes how to install CodeReady Studio when you are online and when you are offline.
3.1.1. Installing CodeReady Studio in Eclipse when online
The following section describes how to install CodeReady Studio BYOE from Eclipse Marketplace.
Procedure
- Start Eclipse IDE.
- Click →
- Locate Red Hat CodeReady Studio 12.15 GA.
Click the
button.ImportantWhen prompted to select additional features to install, select the Fuse Tooling feature for creating, testing and debugging integration applications.
Follow the on-screen instructions to complete the installation process.
If you receive warnings about installing unsigned content, review the details of the content and, if satisfied, click
to continue with the installation.Restart Eclipse.
When prompted to restart Eclipse IDE, click
. Note that the changes do not take effect until you restart Eclipse.
3.1.2. Installing CodeReady Studio in Eclipse when offline
The following section describes how to install CodeReady Studio with the Update Site Zip
. Alternatively, you can also use an Installer downloaded on your system instead of the Update Site Zip
.
Note that the Target Platform Zip
contains the features on which CodeReady Studio depends. It also contains the sources of all the included plug-ins.
Prerequisites
- Downloaded Red Hat CodeReady Studio 12.15 Update Site Zip from https://developers.redhat.com/products/codeready-studio/download.
Procedure
- Start Eclipse IDE.
Click
→The Available software window appears.
-
Click
Update Site Zip
file. → to locate the - Click the button.
- Check the Red Hat CodeReady Studio - Bring Your Own Eclipse and Red Hat Fuse Tooling check boxes.
- Click the button.
Follow the on-screen instructions to complete the installation process.
If you receive warnings about installing unsigned content, review the details of the content and, if satisfied, click
to continue with the installation.Restart Eclipse.
When prompted to restart Eclipse IDE, click
. Note that the changes do not take effect until you restart Eclipse.
3.2. Installing CodeReady Studio stand-alone using the Installer
The Installer contains CodeReady Studio stand-alone that packages the CodeReady Studio plug-ins with Eclipse and dependent third-party plug-ins. The Installer is compatible with all operating systems and is available from a variety of sources, including the Red Hat Customer Portal.
The following section describes how to install CodeReady Studio stand-alone.
Procedure
- Download the Red Hat CodeReady Studio 12.15 Installer from https://developers.redhat.com/products/codeready-studio/download.
Go to the directory that contains the
.jar
file for the Red Hat CodeReady Studio 12.15 Stand-alone Installer.Review the contents of the
.jar
file. If satisfied, continue with the installation.Start the installer:
$ java -jar codereadystudio-12.15.0.GA-installer-standalone.jar
Follow the on-screen instructions to complete the installation process.
ImportantWhen prompted to select additional features to install, select the Fuse Tooling feature for creating, testing and debugging integration applications.
3.3. Performing advanced installation tasks
The following section describes how to:
- Install CodeReady Studio using a script.
- Build the Red Hat CodeReady Studio Installer from the source code.
3.3.1. Installing CodeReady Studio using a script
The following section describes how to install CodeReady Studio using a script.
Procedure
- Download the Red Hat CodeReady Studio 12.15 Installer from https://developers.redhat.com/products/codeready-studio/download.
Go to the directory that contains
.jar
file for the Red Hat CodeReady Studio 12.15 Stand-alone Installer.Review the contents of the
.jar
file. If satisfied, continue with the installation.Start the installer:
$ java -jar codereadystudio-12.15.0.GA-installer-standalone.jar
Follow the on-screen instructions to complete the installation process.
ImportantWhen prompted to select additional features to install, select the Fuse Tooling feature for creating, testing and debugging integration applications.
After the installation is complete, an
InstallConfigRecord.xml
file is generated in the CodeReady Studio installation directory.In a terminal window, use:
$ java -jar codereadystudio-12.15.0.GA-installer-standalone.jar \ /path-to/InstallConfigRecord.xml
Replace path-to with the path to the
InstallConfigRecord.xml
file.
The generated InstallConfigRecord.xml
file is machine-specific and uses the Java Development Kit (JDK) and installation paths of your system. To use the InstallConfigRecord.xml
file for other operating systems, JDKs, or paths, you must manually modify the file.
3.3.2. Building the CodeReady Studio stand-alone Installer from source
The following section describes how to build the CodeReady Studio stand-alone Installer from source.
Prerequisites
- Maven 3.3 or later with Java 8 must be installed. To obtain and configure Maven, see http://maven.apache.org/.
Procedure
Clone the git repository:
$ git clone https://github.com/jbdevstudio/jbdevstudio-product.git
Navigate to the
jbdevstudio-product
directory:$ cd jbdevstudio-product
Checkout into
master
:$ git checkout master
Follow the instructions in the README.adoc file.
Note that building the CodeReady Studio stand-alone Installer takes some time.
When the build is complete, the .jar
file for the CodeReady Studio stand-alone Installer is located in the /jbdevstudio-product/installer/target
directory.
Chapter 4. Upgrading CodeReady Studio
The following section describes the possibilities of upgrading your version of CodeReady Studio to the latest major and minor versions.
4.1. Upgrading major versions of CodeReady Studio
Each major version of CodeReady Studio is based on a different version of Eclipse. As a result, it is not possible to upgrade an older major version of CodeReady Studio to a newer major version. For example, it is not possible to update a CodeReady Studio 10.x installation to 11.x. However, it is possible to use the workspaces created using CodeReady Studio 11.x with CodeReady Studio 12.x.
Note that you can have multiple versions of CodeReady Studio installed on your system with Installer or Eclipse, provided you have these versions located in different directories.
The following table details the version of Eclipse supported with each major version of Red Hat CodeReady Studio:
Red Hat CodeReady Studio Version | Base Eclipse Version |
---|---|
CodeReady Studio 12.15 | Eclipse IDE 2020‑03 |
CodeReady Studio 12.14 | Eclipse IDE 2019‑12 |
CodeReady Studio 12.13 | Eclipse IDE 2019‑09 |
CodeReady Studio 12.11 | Eclipse SimRel 2019-03 GA |
CodeReady Studio 12.9 | Eclipse SimRel 2018-09 GA |
CodeReady Studio 12.0 | Eclipse 4.8 (Photon) |
CodeReady Studio 11.x | Eclipse 4.7 (Oxygen) |
Red Hat CodeReady Studio 10.x | Eclipse 4.6 (Neon) |
Red Hat CodeReady Studio 9.x | Eclipse 4.5 (Mars) |
4.2. Updating minor versions of Red Hat CodeReady Studio
You can update your Red Hat CodeReady Studio to the latest minor versions within the major release. For example, you can update your Red Hat CodeReady Studio 12.0 installation to 12.9.
You may be automatically notified by the IDE when the latest Red Hat CodeReady Studio update is available, depending on your IDE settings for automatic updates.
Back up your workspace before updating. In addition to your project files, your workspace contains metadata about customized settings and preferences for the IDE. To back up your workspace, either copy the workspace directory to a backup location, or save it as a compressed file.
Procedure
- Start Eclipse IDE.
- Click → .
- Select → .
- Ensure that the URL https://devstudio.redhat.com/12/stable/updates/ is listed in enabled locations. If it is not listed, add it.
- Click the button.
Click
→Note that the search for updates might take some time.
Follow the on-screen instructions to apply available updates.
If you receive warnings about installing unsigned content, review the details of the content and, if satisfied, click
to continue with the installation.Restart Eclipse.
When prompted to restart Eclipse IDE, click
. Note that the changes do not take effect until you restart Eclipse.
Chapter 5. Uninstalling CodeReady Studio
The following section describes how to uninstall CodeReady Studio using Eclipse or the Installer.
Note that you can have multiple versions of CodeReady Studio installed on your system, provided you have these versions located in different directories.
5.1. Uninstalling Red Hat CodeReady Studio using Eclipse
The following section describes how to uninstall CodeReady Studio installed with Eclipse Marketplace or Update Site Zip
.
Procedure
- Start Eclipse IDE.
- Click →
- Navigate to the Installed section.
- Locate Red Hat CodeReady Studio.
Click the down arrow near the
button.The drop-down menu appears.
Click the
button.The Confirm Selected Features window appears.
- Ensure that Red Hat CodeReady Studio is selected.
Click
→ .The Software Updates dialog box appears.
Click
to restart Eclipse.Note that the changes do not take effect until you restart Eclipse.
5.2. Uninstalling CodeReady Studio using the Installer
The following section describes how to uninstall the CodeReady Studio installed with the Installer.
Procedure
- Ensure that CodeReady Studio is not running.
Navigate to the
/Uninstaller
directory:$ cd /path-to/Uninstaller
Replace path-to with the path to the CodeReady Studio
/Uninstaller
directory.Start the uninstaller:
$ java -jar uninstaller.jar
The IzPack Uninstaller dialog box appears.
- Check Force the deletion box to remove the CodeReady Studio installation directory. If the check box is not selected, some files will be left behind in the installation directory.
- Click the button.
Chapter 6. Reporting issues from within Red Hat CodeReady Studio
You can report errors by raising a ticket in JIRA. When creating a JIRA ticket, please create it against one of the following projects JBDS or JBIDE. Provide as much detail as possible in the JIRA ticket to help the team debug the error. You can also attach the error log to the JIRA tickets to provide context for the issue.