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 Eclipse Marketplace when you are online. This installation method is referred to as Bring Your Own Eclipse (BYOE).
Alternatively, you can use the Update Site Zip
to install CodeReady Studio when you are offline.
The following sections describe how to install CodeReady Studio when online and 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 the Eclipse IDE.
Click
. The Eclipse Marketplace window appears.
Locate Red Hat CodeReady Studio 12.19 GA.
- Click .
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.
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 the 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
.
Prerequisites
- Download the Red Hat CodeReady Studio 12.19 Update Site Zip from the Red Hat Developer Portal.
Procedure
- Start the Eclipse IDE.
Click
. The Available Software window appears.
Click
.The Add Repository window appears.
-
Click
Update Site Zip
file. and locate the - Click .
Select the Red Hat CodeReady Studio - Bring Your Own Eclipse and Red Hat Fuse Tooling check boxes.
- Click .
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 the 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, which 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 using the Installer.
Procedure
- Download the Red Hat CodeReady Studio 12.19 Installer from the Red Hat Developer Portal.
-
Go to the directory that contains the
codereadystudio-12.19.0.GA-installer-standalone.jar
file you downloaded. Start the Installer:
$ java -jar codereadystudio-12.19.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 sections describe how to install CodeReady Studio using a script and how to build the Red Hat CodeReady Studio Installer from 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.19 Installer from the Red Hat Developer Portal.
-
Go to the directory that contains the
codereadystudio-12.19.0.GA-installer-standalone.jar
file you downloaded. Start the Installer:
$ java -jar codereadystudio-12.19.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.Run the following command:
$ java -jar codereadystudio-12.19.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 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 11 is installed. To obtain and configure Maven, see the Apache Maven Project.
Procedure
Clone the CodeReady Studio Git repository:
$ git clone https://github.com/jbdevstudio/jbdevstudio-product.git
Navigate to the
jbdevstudio-product
directory:$ cd jbdevstudio-product
Checkout
master
:$ git checkout master
- Follow the instructions in the README.adoc file.
When the build is complete, the .jar
file for the CodeReady Studio stand-alone Installer is located in the /jbdevstudio-product/installer/target
directory.