Getting Started with Eclipse

From MIPAV
Revision as of 20:56, 4 August 2010 by Senseneyj (Talk | contribs)

Jump to: navigation, search

Eclipse is one of many good IDEs for developing MIPAV plugins and helping with the MIPAV project. Here you can find out how to get started using Eclipse.

Requirements

Here are locations for downloading both Java and Eclipse. Note that Java may already be installed on your system. Find out what version of Java you have here.

  • Java SE Runtime Environment (JRE) or Java Development Kit (JDK). Version 1.6 or higher is needed. You can either download it here or use the JRE bundled with an installed version of MIPAV.
  • Eclipse IDE for Java Developers. The current version is recommended. Download here

Installing Java

If you downloaded Java, simply follow the installation prompts provided.

Installing Eclipse

Open the downloaded zip file. Unzip the entire contents to a convenient folder, such as C:\Program Files\

Code Conventions

MIPAV code is written in Java and conforms to many of the standard Java code conventions. In addition, here are some things you can set Eclipse to do:

  • Insert spaces when the Tab key is pressed.
  • Set your compiler compliance settings to 1.6.
  • Change the compiler rule about "Forbidden references" from Error to Warning.

Now What?

With Java and Eclipse installed, you're all set to write MIPAV plugins.