Chapter 3. Performing advanced installation tasks

This section describes steps to install Developer Studio using a script and to build the Red Hat Developer Studio installer from the source code.

3.1. Installing Red Hat Developer Studio using a script

Use the scripted method to install Developer 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 Developer Studio stand-alone installer is available from a variety of sources, including the Red Hat Customer Portal.

Procedure

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

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

    $ cd /path/to/.jar
    $ java -jar devstudio-12.9.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 Developer Studio installation directory.
  4. In the terminal window, enter the following command:

    $ java -jar devstudio-12.9.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 Developer 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 Developer 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.