Setup Eclipse Environment

Set up Eclipse Environment

  1. Install the latest version of Eclipse. Must be Eclipse version 3.3 or newer. Get the "IDE for Java developers"
  2. Install an SVN client. We recommend Subversive (update site). Another option is Subclipse (update site).
  3. Install Maven 2.x Plug-in for Eclipse using update site. Get the latest stable version.
    • Create a .m2 folder in your user home directory, if you don't have one. On windows this would be
      C:/Documents and Settings/[user name]/.m2
      
    • Windows Explorer may not allow you to create a folder named .m2. If this happens, open the Command Prompt, change to the desired directory, and type "mkdir .m2".
  4. Install command line version of Maven
    1. Download Maven 2 from http://maven.apache.org/download.html.
    2. Unpack the downloaded distribution to a directory of your choosing (this is your Maven Home directory).  Do NOT unpack it to the .m2 folder created earlier.
    3. Define a M2_HOME system variable.
    4. Add M2_HOME/bin to the system path.
    5. Make sure that the JAVA_HOME variable is already defined and that it is set to a JDK (and not a JRE).
    6. Here is a more detailed guide to installation from the Maven 2 website: http://maven.apache.org/download.html#Installation.

FAQ for Eclipse Setup

  • What is an "update site", and what do I do with it?
    An update site is a way to install new features into eclipse. The following page has a flash video that demonstrates how to use an update site URL. This particular video is for an older version of ht Maven 2 plugin, but the basic procedure is the same for all update sites:
    http://m2eclipse.codehaus.org/Installing_Maven_2.0_plugin_for_Eclipse.html
    The "update site" URL should be entered in the dialog box titled "New Update Site". This dialog apears when the "New Remote Site..." button is clicked.
    The name of the update site can be anything you want.
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.