Home Start Back Next End
  
50
The MIDlet class can also call another class. Thus, the developer may create another
Java class as long as it only use API provided by the J2ME. These classes can be created
using several text tool or IDE such as EditPlus and Eclipse.
2.3.8.3.1.3 Compile
Compiling MIDlet is not much different from compiling normal Java application. It
still uses javac command. However, CLASSPATH is changed while compiling MIDlet.
The command looks like this:
C:\WTK22\article>javac -bootclasspath ..\lib\cldcapi11.jar;..\lib \midpapi20.jar
comm\j2me \part1\DateTimeApp.java
2.3.8.3.1.4 Pre -verify
Verification
byte
code
is
performed
by
JVM
before
it
runs
any
class
in
order
to
ensure that the class file is structurally and conceptually correct for JVM specification.
Pre-verify command looks like this:
C:\WTK22\article>..\bin\preverify.exe -classpath ..\lib\cldcapi11.jar;..\lib \midpapi20.jar
com.j2me.part1.DateTimeApp
2.3.8.3.1.5 Package
Word to PDF Converter | Word to HTML Converter