evice fragmentation is an issue that plagues the mobile application developer. With the thousands of devices on the market, it is difficult to know which devices can host a new application. Even when targeting only a few devices, it is difficult to determine the lowest common denominator of features and capabilities that the set of devices support. This makes building applications to that set very difficult. (For more information on understanding the various issues related to device fragmentation see Damith C. Rajapakse's Web page
While device fragmentation has always beenand may always bea troublesome issue in Java Platform Micro Edition (ME) development, at least Java ME developers now can look forward to some defragmentation in SDKs. At the end of 2008, Sun released the early access edition of the Java ME SDK version 3.0. This kit brings together in one SDK the Java ME developer tools (runtime, emulator and code editors) for:
|Figure 1. Installing Java ME SDK 3.0 Early Access: Installing the SDK requires you pick a destination for the install as well as specify the location of the required Java 1.6 environment, which should be automatically detected by the install program.|
- Connected Limited Device Configuration (CLDC)
- Connected Device Configuration (CDC)
- Blu-ray Disc Java (BD-J)
Although it carries the "3.0" moniker, don't go looking for the 1.0 or 2.0 SDK versions. This is the first release of this tool. Presumably, it bases its version number on the fact that two previous major versions of the Sun Wireless Toolkits for CLDC (WTK) already existed. However, this tool also incorporates the tooling found in the Sun Java Toolkit for CDC (version 1.0), as well as integrated tools and libraries for BD-J and the Lightweight User Interface Toolkit (LWUIT).
Download and Setup
You can download the early access version of the Java ME SDK 3.0 from java.sun.com
. According to Sun's web page on the product, your development machine must be either a Windows XP or Vista (32 bit) system with a minimum of 200MB of disk space, 1 GB of RAM, and a 1GHz Pentium CPU. Additionally, the SDK requires Java 6 (a.k.a Java 1.6). Additional software and/or libraries may be required depending on the type of application you develop and test.
The SDK downloads in a single 55+ MB executable file that you must install. When downloaded, execute the sun_java_me_sdk-3_0-ea-win.exe file on your system. Installation couldn't be easier. Simply specify where to install the SDK, and indicate where the Java SDK (Java 1.6 or better) is located (see Figure 1). You may also choose whether to have the software check for automatic updates, which is probably prudent given that this is an early access product.