此内容没有您所选择的语言版本。
8. Advanced Install Tasks
8.1. Install JBoss Developer Studio by Script 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
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 installation 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:
- Locate and download Red Hat JBoss Developer Studio <version> Stand-alone Installer from the Red Hat Customer Portal.
- Start the installer as follows:
cd /path/to/.jar java -jar jboss-devstudio-<version>-installer-standalone.jar
$ cd /path/to/.jar $ java -jar jboss-devstudio-<version>-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, a InstallConfigRecord.xml file is generated in the /path/to/jboss-devstudio/ directory.
- In the terminal window, enter the following command:
java -jar jboss-devstudio-version-installer-standalone.jar /path/to/jboss-devstudio/InstallConfigRecord.xml
java -jar jboss-devstudio-version-installer-standalone.jar /path/to/jboss-devstudio/InstallConfigRecord.xml
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
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 systems with different operating systems, Java developer kits, or paths, you must manually modify the file.
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. 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:
- Locate and download Red Hat JBoss Developer Studio <version> Sources Zip from the Red Hat Customer Portal.
- Extract the contents of the downloaded file, by running the following commands:
cd path/to/.zip unzip jboss-devstudio-<version>-installer-src.zip
$ cd path/to/.zip $ unzip jboss-devstudio-<version>-installer-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.
Note
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/jboss-devstudio-<version>-src/jbdevstudio-product-{SHA_checksum}/installer/target directory.