Forum Stats

  • 3,875,275 Users
  • 2,266,903 Discussions
  • 7,912,133 Comments

Discussions

How to set class path

843851
843851 Member Posts: 19,484
edited Apr 21, 2009 8:53AM in Java ME SDK
Hi......,,,,,,

Good Afternoon

I had downloaded j2me sdk 3.0, cldc 1.1 and midp 2.0
can any one help me how to set the class path for cldc and midp
i'm getting errors while compiling my program like java.lang.classNotFoundException.

Thanks in Advance,

Comments

  • PhHein
    PhHein Member, Moderator Posts: 7,263 Silver Trophy
    Note: This thread was originally posted in the [CLDC and MIDP|http://forums.sun.com/forum.jspa?forumID=76] forum, but moved to this forum for closer topic alignment.
  • 843851
    843851 Member Posts: 19,484
    You don't need to setup classpath for cldc/midp project if it doesn't contain custom libraries.In case that your application uses custom API you need to add API jar into project. Open project properties, select "libraries & resources" in the tree on the left side and add zip/jar from disc. It will be added on classpath and you can choose if the library would be bundled with project or wouldn't.
This discussion has been closed.