Configuration

Eclipse

This section explains how to install the distributed files so that you are able to compile and run the example tutorials from within Eclipse. We assume that you have successfully installed and started your Eclipse environment at this point in time.

Depending on your version of Eclipse, some of the following steps will be different. In general, however, the steps are as follows:

  1. Install JAR Files

  2. Install Javadocs

  3. Create Eclipse Project

Each tutorial in this manual is located in its own directory that contains an executable file. This will be a java class with an implemented main method.

Configuration for Eclipse Version 3.X

  1. Select the main menu “File”.

  2. Select the child menu item “New”.

  3. Select the child menu item “Project...”.

  4. A Wizard dialog window appears.

  5. Select “Java Project” from the Wizard list.

  6. Press the “Next” button.

  7. Enter “Tensegrity_Graph_First_Steps” without quotes into the “Project name:” text field.

  8. Press the “Next” button.

  9. Select the “Libraries” tab.

  10. Press the “Add External JARs...” button.

  11. Navigate to the Tensegrity libraries and select them as well as the SWT library (lib/swt/SWT3_0.jar) while holding down the STRG key.

  12. Press the “Open” button to confirm and close the “JAR Selection” dialog. If you select the wrong JARs by mistake, you can always delete them later.

  13. Append “/bin” without quotes to the “Default output folder:” text field.

  14. Press the “Finish” button.