Originally posted by waqas shahwar:
i have just use sun j2me wireless toolkit version 2.0 the method u wrote me is used via shell prompt or it can be used in j2me wireless tool kit.
Things are a bit different when you're talking about J2ME development (see
this article for an example). You still use command-line arguments for specifying the classpath while compiling your code, but for deployment you only create one .jar file (
Antenna's
WtkPackage task does this for you).
You might want to read these articles as well, assuming you haven't already:
Parsing XML in CLDC-based profiles Parsing XML in J2ME A list of Sun Microsystems' mobile articles
Originally posted by waqas shahwar:
this is ur written code.i also want to know that what's (prompt$)
prompt$ java -classpath path/to/sax-api.jar :p ath/to/sax-implementation.jar MySaxStuff
Oh, the "prompt$" was just a placeholder for the
prompt of your operating system. For example, my Linux has a prompt like "username@hostname /current/path $" and my Windows has the regular "C:\>" prompt.