1.编译
javac -g:none -classpath D:/J2ME/midp-2.0-i686/classes;. -bootclasspath D:/J2ME/midp-2.0-i686/classes %1
2.预先审核
preverify -classpath D:/J2ME/midp-2.0-i686/classes;. -d %1 %2
3.测试
midp -classpath . %1
4.撰写描述文档 jad
5.合成JAR文档
jar -cfm %1 %2 -C ./%3 .