Creating the Workspace

You need to create and configure an Eclipse workspace capable of interacting with the JBoss application server when you are running or debugging the application.
  1. Launch Visual COBOL for Eclipse.
  2. When prompted for a workspace, specify the path to the folder that you extracted the source files to.
  3. If you are presented with the Welcome page, click Open COBOL Perspective.

    This loads a set of views within the IDE that are associated with COBOL development. Use the Project Explorer to show that the workspace is empty as you have not yet imported the projects into Eclipse.

  4. If you have not already installed the JBoss AS tools server adapter:
    1. Click Window > Preferences > Server > Runtime Environments.
    2. Click Add. This opens the New Server Runtime Environment dialog box.
    3. Expand Red Hat JBoss Middleware.
    4. Click JBoss AS, WildFly, & EAP Server Tools, and then click Next.
    5. Accept the license agreement, and then click Finish.
    6. If you are presented with a security warning about unsigned content, ignore it by clicking OK.
    7. Click Yes to restart Eclipse.
      Note: If this is the first time the workspace settings have been changed then Eclipse might prompt you to store preference information.
  5. Once you have downloaded the JBoss AS tools server adapter:
    1. Click Window > Preferences > Server > Runtime Environments.
    2. Click Add.
    3. Expand JBoss Community.
    4. Click JBoss EAP 6.4 Runtime.
    5. Click Next. This opens the New Server Runtime Environment dialog box.
    6. In the Home Directory field, type the path where you have installed JBoss.
    7. In the Runtime JRE group, set the Alternate JRE to an installed Java JDK. JDK version 1.8 is installed automatically with Visual COBOL.
      Tip: Click Window > Preferences > Java > Installed JREs to view the available JREs. You can add the JDK here.
    8. Click Finish.
    9. Click OK.