This week's book giveaway is in the Cloud forum.
We're giving away four copies of The Business Blockchain and have William Mougayar on-line!
See this thread for details.
Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DOES CLASS PATH OF sax apiSETS IN WIRELESS TOOLKIT OR VIA SHELL PROMPT

 
waqas shahwar
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I HAVE QUERY WITH LASSE
lasse dear 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 .

this is ur written code.i also want to know that what's (prompt$)
prompt$ java -classpath path/to/sax-api.jar ath/to/sax-implementation.jar MySaxStuff

--------------------------------------------------------------------------------


thanks
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to the J2ME forum. Please continue this discussion there. Thank you
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic