Chapter 8. Performing Advanced Installation Tasks
This section describes how to install Red Hat JBoss Developer Studio using a script and how to build the Red Hat JBoss Developer Studio installer from source code.
8.1. Installing Red Hat JBoss Developer Studio Using a Script
Use the scripted method to install Red Hat JBoss 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 Red Hat JBoss Developer Studio stand-alone installer is available from a variety of sources, including the Red Hat Customer Portal.
To install Red Hat JBoss Developer Studio by script:
- Download Red Hat JBoss Developer Studio 11.2 Stand-alone Installer from JBoss Developer Studio Software Downloads.
Start the installer:
$ cd /path/to/.jar $ java -jar devstudio-11.2.0.GA-installer-standalone.jar
-
Follow the on-screen instructions to complete the installation process. After the installation is complete, an
InstallConfigRecord.xml
file is generated in the JBoss Developer Studio installation directory. In the terminal window, enter the following command:
$ java -jar devstudio-11.2.0.GA-installer-standalone.jar \ /path/to/devstudio/InstallConfigRecord.xml
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.
8.2. Building the Red Hat JBoss Developer Studio Stand-alone Installer from Source
Prerequisite
- 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 Red Hat JBoss Developer Studio stand-alone installer from source:
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.
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.