Chapter 3. Performing advanced installation tasks
This section describes steps to install CodeReady Studio using a script and to build the Red Hat CodeReady Studio installer from the source code.
3.1. Installing Red Hat CodeReady Studio using a script
Use the scripted method to install CodeReady Studio stand-alone using the GUI once and then a generated script for subsequent installations. This installation method enables simplified repeat installations or installations in bulk without stepping through the installer GUI for every installation.
The CodeReady Studio stand-alone installer is available from a variety of sources, including the Red Hat Customer Portal.
To install CodeReady Studio by script, take the following steps:
- Download Red Hat CodeReady Studio 12.11 Stand-alone Installer from CodeReady Studio Software Downloads.
Start the installer:
$ cd /path/to/.jar $ java -jar devstudio-12.11.0.GA-installer-standalone.jar
Follow the on-screen instructions to complete the installation process. After the installation is complete, an
InstallConfigRecord.xmlfile is generated in the CodeReady Studio installation directory.
In the terminal window, enter the following command:
$ java -jar devstudio-12.11.0.GA-installer-standalone.jar \ /path/to/devstudio/InstallConfigRecord.xml
InstallConfigRecord.xml file is machine-specific and uses the Java Developer Kit and installation paths of your system. To use the
InstallConfigRecord.xml file for other operating systems, Java Developer Kits, or paths, you must manually modify the file.
3.2. Building the CodeReady Studio stand-alone Installer from source
- Maven 3.3 or later, with Java 8 must be installed to build the installer from the source code. To obtain and configure Maven, see http://maven.apache.org/.
To build the CodeReady Studio stand-alone installer from source, take the following steps:
Clone the git repository by running the command:
$ git clone https://github.com/jbdevstudio/jbdevstudio-product.git
Checkout the master branch by running the command:
$ git checkout master
- Build the installer by following the instructions in the jbdevstudio-product/README.adoc file.
jbdevstudio-product/README.adoc file is located in the extracted current folder at the highest level.
Building takes some time to complete, after which the
devstudio-[version]-installer-standalone.jar file will be located in the