Any relatively recent version of Windows should work. These instructions have been tested on 64-bit Windows 7 Enterprise.
The same prerequisites apply as with ordinary Java ME development on Nokia devices. You can use Nokia IDE for Java ME (Eclipse) (with Mobile Tools for Java) and Nokia Java SDKs as usual.
If you don't have a functional development environment, follow the instructions in this guide: Getting started with the Nokia IDE for Java ME.
Install and configure ProGuard
To use ProGuard for preverification and/or obfuscation, perform the following steps:
Download a ProGuard release from Sourceforge.
Extract the package to a location of your choice.
In Nokia IDE for Java ME (Eclipse), from the Window menu, select Preferences. The Preferences window is displayed.
Under the Java ME section, configure the extracted package directory as the ProGuard Root Directory.
Traditionally LWUIT development has taken place using NetBeans. This is reflected, for example, by the resource editor generating NetBeans projects from UIs created with the UI builder, where a hierarchical structure of parent projects and platform projects is generated. This structure does not work in Nokia IDE for Java ME (Eclipse), because Eclipse project directories have to be first-level children of the workspace directory, and the workspace directory itself cannot be a project. Say we have a structure like this:
ProjectsDir | +--- ParentProject | +--- PlatformProject1 | +--- PlatformProject2
Now, to create an Eclipse project from the parent project, you have to set 'ProjectsDir' as the workspace. Then, to create Eclipse projects from the platform projects, you have to to set 'ParentProject' as the workspace. However, while 'ParentProject' is the workspace, 'ParentProject' cannot be imported as a project, and therefore cannot be set as a dependency of any platform project.
The best solution to this is to either:
The following topics describe how to create a simple LWUIT application using Nokia IDE for Java ME (Eclipse).