Chapter 8. Performing Advanced Installation Tasks
This section describes how to install JBoss Developer Studio using a script and how to build the JBoss Developer Studio installer from source code.
8.1. Installing JBoss Developer Studio via a Script Copy linkLink copied to clipboard!
Use the scripted method to install 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 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:
- Download Red Hat JBoss Developer Studio 10.1 Stand-alone Installer from JBoss Developer Studio Software Downloads.
Start the installer as follows:
cd /path/to/.jar java -jar devstudio-10.1-installer-standalone.jar
$ cd /path/to/.jar $ java -jar devstudio-10.1-installer-standalone.jar
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Follow the on-screen instructions to complete the installation process.
After the installation is complete, an
InstallConfigRecord.xml
file is generated in the/path/to/devstudio/
directory.In the terminal window, enter the following command:
java -jar devstudio-10.1-installer-standalone.jar \ /path/to/devstudio/InstallConfigRecord.xml
$ java -jar devstudio-10.1-installer-standalone.jar \ /path/to/devstudio/InstallConfigRecord.xml
Copy to Clipboard Copied! Toggle word wrap Toggle overflow NoteThe generated
InstallConfigRecord.xml
file is machine-specific and uses the Java Developer Kit and installation paths of your system. To use theInstallConfigRecord.xml
file for systems with different operating systems, Java Developer Kits, or paths, you must manually modify the file.
8.2. Building the JBoss Developer Studio Stand-alone Installer from Source Copy linkLink copied to clipboard!
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.
It is easier to build the installer from the https://github.com/jbdevstudio/jbdevstudio-product repository instead of the source ZIP file.
Maven must be installed to build the installer from the source code. Also, ensure that you are using Maven 3.2 or later, with Java 8 or later. To obtain and configure Maven, see http://maven.apache.org/.
To build the JBoss Developer Studio stand-alone installer from source:
- Download the Red Hat JBoss Developer Studio 10.1 Stand-alone Installer from JBoss Developer Studio Software Downloads.
Extract the contents of the downloaded file by running the following commands:
cd path/to/.zip unzip devstudio-10.1-src.zip
$ cd path/to/.zip $ unzip devstudio-10.1-src.zip
Copy to Clipboard Copied! Toggle word wrap Toggle overflow -
Build the installer by following the instructions in the
README.how-to-build-from-sources-zip.txt
file.
The README.how-to-build-from-sources-zip.txt
file is located in the extracted current folder at the highest level.
Building takes some time to complete, after which the installer.jar
file will be located in the /path/to/devstudio-10.1-src/jbdevstudio-product-SHA-checksum}/installer/target
directory.