Red Hat Training

A Red Hat training course is available for Red Hat JBoss Developer Studio

7. Advanced Install Tasks

7.1. Install JBoss Developer Studio by Script

A scripted method is available for use when installing JBoss Developer Studio stand-alone with the installer. The scripted installation method removes the need to step through the installer GUI for every installation, enabling simplified repeat installations or installations in bulk.
The instructions here detail how you can install JBoss Developer Studio stand-alone stepping through the installer GUI once and then use a generated script for subsequent installations. The JBoss Developer Studio stand-alone installer is available from a variety of sources, including the Red Hat Customer Portal.
To install JBoss Developer Studio by script, complete the following steps:
  1. Locate and download Red Hat JBoss Developer Studio <version> Stand-alone Installer.
  2. Start the installer
    $ cd /path/to/.jar
    $ java -jar jboss-devstudio-version-installer-standalone.jar
  3. Step through the installer GUI once to generate a InstallConfigRecord.xml file located in the /path/to/jboss-devstudio/ directory.
  4. Perform repeat identical installations without stepping through the installer GUI
    $ java -jar jboss-devstudio-version-installer-standalone.jar /path/to/jboss-devstudio/InstallConfigRecord.xml

Note

The generated InstallConfigRecord.xml file is machine-specific, using the Java developer kit and installation paths of your system. To use the InstallConfigRecord.xml file for systems with different operating systems, Java developer kits or paths, you must manually modify the file.

7.2. Build the JBoss Developer Studio Stand-alone Installer from Source

A .zip file is provided from which you can build the JBoss Developer Studio stand-alone installer. The source code archive is available from a variety of sources, including the Red Hat Customer Portal.

Important

Maven must be installed to build the installer from the source code. To obtain and configure Maven, see http://maven.apache.org/.
To build the JBoss Developer Studio stand-alone installer from source, complete the following steps:
  1. Locate and download Red Hat JBoss Developer Studio <version> Sources Zip.
  2. Extract the contents of the downloaded archive
    $ cd path/to/.zip
    $ unzip jboss-devstudio-version-installer-src.zip
  3. Build the installer
    $ cd devstudio/product
    $ mvn clean install
Building takes some time to complete, after which the installer .jar file is located in the /path/to/jboss-devstudio/installer/target/ directory.