aspose file tools
The moose likes Java Micro Edition and the fly likes Compiling J2ME from command prompt Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Reply Bookmark "Compiling J2ME from command prompt" Watch "Compiling J2ME from command prompt" New topic
Author

Compiling J2ME from command prompt

Reeti Saha
Ranch Hand

Joined: Jun 26, 2001
Posts: 34
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

Joined: Jun 28, 2001
Posts: 13
the last parameter simply mean the classes or the entire directory you want to preverify
Eric Giguere
Ranch Hand

Joined: Oct 25, 2000
Posts: 170
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


Eric Giguere
Author/Co-Author of: Mobile Information Device Profile for Java 2 Micro Edition: Professional Developer's Guide, Java 2 Micro Edition: Professional Developer's Guide and PalmTM Database Programming: The Complete Developer's Guide
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Compiling J2ME from command prompt
 
Similar Threads
palmdb.jar
V.New and in need of assistance
class not found ! urgent
Help on Preverify process
compiling command: servlet-api.jar:classes: . ?