Setting up your Eclipse

Tihomir R. Todorov

Version 0.0.1
Copyright © 2010 Tihomir R. Todorov
11.27.2010
Revision History
Comment
Date
Name
tutorial.eclipse.set-up-your-eclipse_0.0.1.v20101127-0336
Article created
11.27.2010
Tihomir R. Todorov

Contents

1 Check the used JRE defenition
2 Configuring Maven 3 in Eclipse

The tutorial describes how to set up Eclipse better before you start to develop an application.

1 Check the used JRE defenition

In Eclipse Window->Preferences->Java->Installed JREs. The location of the JRE definition should be the path to the Java JDK SE. In my case "C:\Programme\Java\jdk1.6.0_22".

Done!

2 Configuring Maven 3 in Eclipse

This point is optional. Only if you have installed Maven 3 and if you wish to use it verify the following setting.

In Eclipse Window->Preferences->Run/Debug->String Substitution->New.... In my case:


In Eclipse Window->Preferences->Java->Build Path->Classpath Variables->New.... In my case:


In Eclipse Window->Preferences->Ant->Runtime->Properties->Add Property.... In my case:


Download the metadata.7z and unpack it in your workspace ( e.g. C:\Portable\eclipse-rcp-galileo-sr2-win32-riena\workspace\). The folder ".metadata" contains predefined launches for Maven, that can be accessed in Eclipse using Run->External Tools->External Tools Configurations. Make sure that you unpack the 7z file correctly. The launches should be in: .metadata\.plugins\org.eclipse.debug.core\.launches\.

Done!