Chapter 4. Post-install Instructions
4.1. Set Up the Development Environment
4.1.1. Red Hat JBoss Developer Studio Installation Overview
4.1.2. Download Red Hat JBoss Developer Studio
- Click thebutton. You are prompted to save the ZIP file to a directory of your choice.
4.1.3. Install Red Hat JBoss Developer Studio
- Open a terminal and navigate to the directory containing the downloaded
- Run the following command to launch the GUI installation program:
java -jar jboss-devstudio-build_version-installer-eap.jar
NoteAlternatively, you may be able to double-click the
.jarfile to launch the installation program.
- Clickto start the installation process.
- Select I accept the terms of this license agreement and click .
- Adjust the installation path and click.
NoteIf the installation path folder does not exist, a prompt will appear. Clickto create the folder.
- Choose a JVM, or leave the default JVM selected, and click.
- Red Hat JBoss Developer Studio includes Red Hat JBoss Enterprise Application Platform. If it was previously installed, choose. Otherwise, choose to install and configure it for use with Red Hat JBoss Developer Studio.
- Review the installation details, and click.
- Clickwhen the installation process is complete.
- Configure the desktop shortcuts for Red Hat JBoss Developer Studio, and click.
4.1.4. Start Red Hat JBoss Developer Studio
Procedure 4.1. Command to start Red Hat JBoss Developer Studio
- Open a terminal and navigate to the Red Hat JBoss Developer Studio installation directory.
- Run the following command to start Red Hat JBoss Developer Studio:For Linux:
[localhost]$ ./jbdevstudioFor Microsoft Windows:
C:\JBDS_INSTALL_DIRECTORY > jbdevstudio.bat
4.1.5. Add the JBoss EAP Server Using Define New Server
Procedure 4.2. Add the server
- Open the Servers tab. If there is no Servers tab, add it to the panel as follows:
- Click→ → .
- Select Servers from the Server folder and click .
- Click on No servers are available. Click this link to create a new server... or, if you prefer, right-click within the blank Server panel and select → .
Figure 4.1. Add a new server - No servers available
- Expand JBoss Enterprise Middleware and choose . Enter a server name, for example, "JBoss Enterprise Application Platform 6.4", then click to create the JBoss runtime and define the server. The next time you define a new server, this dialog displays a Server runtime environment selection with the new runtime definition.
Figure 4.2. Define a New Server
- Create a Server Adapter to manage starting and stopping the server. Keep the defaults and click.
Figure 4.3. Create a New Server Adapter
- Enter a name, for example "JBoss EAP 6.4 Runtime". Under Home Directory, click and navigate to your JBoss EAP install location. Then click .
Figure 4.4. Add New Server Runtime Environment
NoteSome quickstarts require that you run the server with a different profile or additional arguments. To deploy a quickstart that requires the
fullprofile, you must define a new server and add a Server Runtime Environment that specifies
standalone-full.xmlfor the Configuration file. Be sure to give the new server a descriptive name.
- Configure existing projects for the new server. Because you do not have any projects at this point, click.
Figure 4.5. Modify resources for the new JBoss server
The JBoss EAP Runtime Server is listed in the Servers tab.
Figure 4.6. Server appears in the server list