Building the examples with Eclipse

From RobotinoWiki
Revision as of 10:40, 6 December 2011 by Indorewala (talk | contribs) (Created page with '= Prerequisites = # Please install the latest [http://www.oracle.com/technetwork/java/javase/downloads/index.html Java Development Kit] and install it. # Also download the [http:…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Prerequisites

  1. Please install the latest Java Development Kit and install it.
  2. Also download the Eclipse IDE for Java Developers. You don't need to install this, just unzip the downloaded folder in your preferred directory.

Building the Camera example

  1. Run eclipse.exe
  2. Select your preferred workspace if you haven't done so already.
  3. Once eclipse has started, select File->New->Project from the Menu bar.
  4. Select "Java Project from Existing Ant Buildfile" by expanding the Java field.
  5. Navigate to the build.xml file in the Camera folder to locate the Ant Buildfile. Click finish.
  6. Once the project has been loaded, build and run it as a "Java Application". If the "Select Java Application" window opens then replace the ** by main and then select Main - (default package).
  7. The application should now run. Type the IP address of Robotino and click Connect.

Repeat the same procedure to build the other examples.