Eclipse

 
 
The Eclipse Workbench is an open source platform, designed by IBM and released to the open source community. It is an open, portable, universal tooling platform that provides frameworks, services and tools for building tools.

In essence the workbench provides the tool infrastructure. With this infrastructure in place, the tool builders are able to focus on the actual building of their tools. The workbench has been designed for maximum flexibility to support the development of tools for new technologies that may merge in the future.

Industry leaders Borland, IBM, Merchant, QNX Software Systems, Rational Software, RedHat, SuSE, TogetherSoft, and WebGain formed the initial eclipse.org board of directors and began work on the Eclipse open source project.

More information about The Eclipse Workbench can be found at:
http://www.eclipse.org

Eclipse FAQ can be found at:
http://wiki.eclipse.org/index.php/Eclipse_FAQs

The latest Eclipse version can be downloaded from: http://www.eclipse.org/downloads/

There are hundreds of plugins which you can add to Eclipse, for example plugins for testing, code management, uml, xml, etc. The Eclipse plugins can be found at: http://www.eclipseplugincentral.com/







Installing EclipseME J2ME plugin



Information

*** IMPORTANT MESSAGE ***
The EclipseME has graduated to become the new Eclipse Mobile Tools for Java (MTJ) project.
There will be no new releases of EclipseME. The last version is 1.7.9
*********************************


With the help of the J2ME Wireless Toolkit and the EclipsME J2ME plugin, users may develop MIDP midlets within the Eclipse development environment. Here below an overview of the features:
  • Multiple wireless toolkit support
  • Wireless toolkit preferences
  • Platform component and definition support
  • Create new J2ME Midlet Suite Project
  • Create new MIDlet
  • Java Application Descriptor (JAD) editor
  • Automatic incremental preverification
  • Eclipse launch support for Emulator
  • MIDlet debugging support
  • JAR and obfuscated JAR packaging
  • Over the air deployment testing server
  • Export Antenna build files
  • Automatic MIDlet signing
To develop midlets using the M3G API (JSR-184) you need to install the J2ME Wireless Toolkit 2.2 and EclipsME J2ME 0.7.0 plugin. The guide below describes this situation.

Operating system used
Windows XP Home Edition Version 5.1 SP 2

Software prerequisites
Eclipse version 3.0 or higher
J2ME Wireless Toolkit 2.2
EclipsME J2ME 0.7.0 plugin

Procedure
  1. Download the EclipseME J2ME 0.7.0 plugin. Do not unzip this file.
    For example: c:\temp\eclipseme.feature_0.7.0_site.zip

  2. Create a new workspace directory, for example: c:\workspace_j2me

  3. Start Eclipse and switch workspace, select menu: File | Switch Workspace

  4. Press the "Browse" button to select the created workspace c:\workspace_j2me

    Workspace launcher

  5. Eclipse will be restared and the workspace setup.

  6. Select menu: Help | Software Updates | Find and Install

    Eclipse install plugin step 1

  7. Select radio button: Search for new features to install

  8. Press button: New Archived Site.

    Eclipse install plugin.



  9. Locate and select the eclipseme.feature_0.7.0_site.zip plugin.
    Make sure the eclipseme.feature_0.7.0_site.zip checkbox is selected and press the Next button.

    Eclipse install plugin step 2

  10. On the next screen make sure the "EclipseME" feature and "EclipseME Siemens Support" feature is selected and press the Next button.

  11. Accept the license agreement and press the Next button.

  12. Select the location where you want to install the plugin. This is usually your main Eclipse installation directory. For example: C:\Tools\eclipse.
    Press the Finish button.

  13. A Jar verification screen is displayed with a warning message.
    Ignore this message and press the Install button.

  14. When the installation is completed, restart Eclipse.

  15. The plugin needs to be configured, select menu: Window | Preferences.

  16. Expand node "J2ME" and select "Platform Components".

  17. Right click "Wireless Toolkits" and select "Add Wireless Toolkit".

    Add wireless toolkit.

  18. Locate and select the J2ME Wireless Toolkit 2.2 installation directory.
    For example: c:\tools\WTK22

    When the toolkit is added, you will see the following:

    J2ME Wireless Toolkit 2.2 added.

  19. If you want to debug your midlet code, you MUST change the "Java | Debug" preference settings:

    • Uncheck "Suspend execution on uncaught exceptions".
    • Uncheck "Suspend execution on compilation errors".
    • Set debugger timeout on 15000 ms.

    Debug settings