Search

Chapter 3. Performing advanced installation tasks

download PDF

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.

Procedure

To install CodeReady Studio by script, take the following steps:

  1. Download Red Hat CodeReady Studio 12.12 Stand-alone Installer from CodeReady Studio Software Downloads.
  2. Start the installer:

    $ cd /path/to/.jar
    $ java -jar devstudio-12.12.0.GA-installer-standalone.jar
  3. Follow the on-screen instructions to complete the installation process. After the installation is complete, an InstallConfigRecord.xml file is generated in the CodeReady Studio installation directory.
  4. In the terminal window, enter the following command:

    $ java -jar devstudio-12.12.0.GA-installer-standalone.jar \
      /path/to/devstudio/InstallConfigRecord.xml
Note

The generated 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

Prerequisites

  • 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/.

Procedure

To build the CodeReady Studio stand-alone installer from source, take the following steps:

  1. Clone the git repository by running the command:

    $ git clone https://github.com/jbdevstudio/jbdevstudio-product.git
  2. Checkout the master branch by running the command:

    $ git checkout master
  3. Build the installer by following the instructions in the jbdevstudio-product/README.adoc file.
Note

The 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 /path/to/jbdevstudio-product/installer/target directory.

Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.