2. First Step
• Make sure the PATH environment variable
pointing to C:WTK20bin.
3. Compilation
1. Make sure these directory are exists :
tmpclasses – to hold unverified class
classes – to hold verified class
2. Syntax : javac [option] –bootclasspath
{j2mewtk.dir}libmidpapi.zip <files>
4. Compilation
[option] :
-d <output directory>
<files> :
list of source files separated by spaces
7. Preverifying
<files | directory>
a list of one or more files or directory
separated by spaces
-classpath <classpath>
Specify the directories of the JAR file
(separated by semicolon) from which the
class are loaded.
11. Packaging
<file>
File JAR to create
<manifest>
Manifest file for the MIDlets
<class_directory>
The directory containing application’s classes
<resource_directory>
The directory containing application’s resources