Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Compiling J2ME from command prompt

 
Reeti Saha
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi:
I'm trying to compile the J2Me java files from command line and wants to make the .jad file, to display in the simulator.
When I'm following the instructions of the J2ME kit, then while I'm using preverify "preverify -classpath c:\j2mewtk\lib\midpapi.zip;tmpclasses -d classes" then it is giving me error saying
Usage: preverify [options] classnames|dirnames ...
where options include:
-classpath <directories separated by ';'>
Directories in which to look for classes
-d <directory> Directory in which output is written (default
@<filename> Read command line arguments from a text file
what does the last parameter mean.. and what do I supply there.
Pls. help.
Thanks and Regards
Reeti
 
sebastien GUERLET
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the last parameter simply mean the classes or the entire directory you want to preverify
 
Eric Giguere
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't put the tmpclasses directory in the classpath, put it at the end of the command line. Only put the classes that don't need to be preverified in the classpath.

------------------
Eric Giguere
author of:
Java 2 Micro Edition : A Professional Developer's Guide
PalmTM Database Programming: The Complete Developer's Guide
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic