1.3. Set Up the Development Environment

1.3.1. Download and Install JBoss Developer Studio Download JBoss Developer Studio 5

  1. Select DownloadsRed Hat JBoss MiddlewareDownloads.
  2. Select JBoss Developer Studio from the dropbox.
  3. Select the appropriate version and click Download. Install JBoss Developer Studio 5

Procedure 1.1. Install JBoss Developer Studio 5

  1. Open a terminal.
  2. Move into the directory containing the downloaded .jar file.
  3. Run the following command to launch the GUI installer:
    java -jar jbdevstudio-build_version.jar
  4. Click Next to start the installation process.
  5. Select I accept the terms of this license agreement and click Next.
  6. Adjust the installation path and click Next.


    If the installation path folder does not exist, a prompt will appear. Click Ok to create the folder.
  7. Choose a JVM, or leave the default JVM selected, and click Next.
  8. Add any application platforms available, and click Next.
  9. Review the installation details, and click Next.
  10. Click Next when the installation process is complete.
  11. Configure the desktop shortcuts for JBoss Developer Studio, and click Next.
  12. Click Done. Start JBoss Developer Studio

Procedure 1.2. Command to start JBoss Developer Studio

  1. Open a terminal.
  2. Change into the installation directory.
  3. Run the following command to start the JBoss Developer Studio:
    [localhost]$ ./jbdevstudio Add the JBoss EAP 6 Server to JBoss Developer Studio

These instructions assume this is your first introduction to JBoss Developer Studio and you have not yet added any JBoss EAP 6 servers.

Procedure 1.3. Add the server

  1. Open the Servers tab. If there is no Servers tab, add it to the panel as follows:
    1. Click WindowShow ViewOther....
    2. Select Servers from the Server folder and click OK.
  2. Click on the new server wizard link or right click within the blank Server panel and select NewServer.
    Add a new server - No servers available

    Figure 1.1. Add a new server - No servers available

  3. Expand JBoss Enterprise Middleware and choose JBoss Enterprise Application Platform 6.x.Then click Next.
    Choose server type

    Figure 1.2. Choose server type

  4. Click Browse and navigate to your JBoss EAP 6 install location. Then click Next.
    Browse to server install

    Figure 1.3. Browse to server install

  5. On this screen you define the server behavior. You can start the server manually or let JBoss Developer Studio manage it for you. You can also define a remote server for deployment and determine if you want to expose the management port for that server, for example, if you need connect to it using JMX. In this example, we assume the server is local and you want JBoss Developer Studio to manage your server so you do not need to check anything. Click Next.
    Define the new JBoss server behavior

    Figure 1.4. Define the new JBoss server behavior

  6. This screen allows you to configure existing projects for the new server. Because you do not have any projects at this point, click Finish.
    Modify resources for the new JBoss server

    Figure 1.5. Modify resources for the new JBoss server


The JBoss Enterprise Application Server 6.0 Runtime Server is listed in the Servers tab.

Server appears in the server list

Figure 1.6. Server appears in the server list