Skip to end of metadata
Go to start of metadata
Table of contents

Homepage:

http://www.eclipse.org/

Download:

http://www.eclipse.org/downloads/

File(s):

Windows: Eclipse IDE for Java EE Developers: eclipse-jee-ganymede-SR2-win32.zip (168 MB)
Linux: Eclipse IDE for Java EE Developers: eclipse-jee-galileo-SR1-linux-gtk.tar.gz (188 MB)

Installation

Windows:

  • Unzip ZIP-file to an appropriate folder (C:\Program Files)
  • Rename unpacked folder "eclipse" to "Eclipse_Ganymede"
  • Create a desktop shortcut or quick launch icon to the executable "eclipse.exe" in the unpacked folder

Linux:

Terminal

Configuration

  • Change start parameters in "C:\Program Files\Eclipse_Ganymede\eclipse.ini" or "/usr/local/bin/eclipse-galileo/eclipse.ini"

Windows:

File eclipse.ini

Linux:

File eclipse.ini

Note: Xmx and XX params must be appropriate to your available memory. If Eclipse does not start, down tune them.

  • Start Eclipse using shortcut
    • In Workspace Launcher
      • point the "Workspace:" field to a new Workspace-folder like "C:\Documents and Settings\<username>\My Documents\DEV\<companyname>" (Windows) or "/home/ralf/DEV/<companyname>" (Linux). Better would be a very short path for the workspace directory (to avoid later problems if your project has a very deep folder hierarchy/packages), e.g. "D:\WORKSPACES\<companyname>" (Windows)
      • Don't check "Use this as default..." (so it will be easier to switch between different workspaces later)
    • Close "Welcome" tab.

Some basic preference settings

  • Window - Preferences:
    • General: Show heap status
    • General - Editors - Text Editors: Show line numbers
    • General - Editors - Text Editors - Spelling - Dictionaries: Encoding: UTF-8
    • General - Network Connections: Manual proxy configuration
      • HTTP proxy: <company_proxy_address>, Port: <company_proxy_port>
      • Use this proxy server for SSL
      • No proxy for: add internal addresses
      • Enable proxy authentication: <username>/<password>
    • General - Workspace: Text file encoding: Other: UTF-8
    • Java - Code Style - Formatter - Java Conventions [built-in] -> Use Sun Java Code Conventions

Plugins

Subclipse

  • Installation
    In Eclipse:
    • Menu "Help - Install New Software..."
    • Install dialog: "Add...": Name: "http://subclipse.tigris.org/update_1.6.x", Location: "http://subclipse.tigris.org/update_1.6.x" - OK
    • Select all (if you are not sure what to select) - Next > - Next >* Accept license - Finish
    • Restart Eclipse
  • Configuration
    In Eclipse:
    • Menu "Window - Open Perspective - Other... - SVN Repository Exploring" - OK
  • Usage
    • Add a new repository location:
      Example:
    • Check out
      Example:
      • Checking out Wicket "trunk":
        Right click "http://svn.apache.org/repos/asf/wicket/ - trunk" in "SVN Repositories" - Checkout... - Checkout as project in the workspace, Project Name: "wicket-trunk" - Finish
  • Troubleshooting
    • Failed to load JavaHL Library.
      Ubuntu:
      • Install libsvn-java
      • Edit eclipse.ini and add java.library.path:
        eclipse.ini

M2Eclipse

Maven Integration for Eclipse provides tight integration for Maven into the IDE.

  • Installation
    In Eclipse:
    • Menu "Help - Install New Software..."
    • Install dialog: "Add...": Name: "http://m2eclipse.sonatype.org/sites/m2e", Location: "http://m2eclipse.sonatype.org/sites/m2e" - OK
    • Select all (if you are not sure what to select, I unchecked AJDT...) - Next > - Next >
    • Accept license - Finish
    • Restart Eclipse

Install additional "extras" from "http://m2eclipse.sonatype.org/sites/m2e-extras"

  • No labels