Developing a Simple Application
This book would not be a true programming book if the “Hello World” example was missing. Actually, we need three different “Hello World” examples to cover the CLDC reference implementation from Sun as well as the MIDP and PDAP CLDC profiles. The following sections describe the steps necessary to compile and run a simple KVM program for each target platform.
Setting Up the System Environment Variables
If you are using one of the integrated development environments, you can probably skip the installation parts of this section. Just type the example and click Build or Compile and then Run, depending on the type of IDE you are using.
For command-line operation, it is helpful to insert the bin/win32 directory located ...
Get Java™ 2 Micro Edition Application Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.