-
Classpath issue
I have sun java wireless toolkit 2.5.2 and I'm already successfully creating Midlets using eclipse's j2me plugin. To do this I already imported wtk252 in window/preferences/j2me/dev mgmt, and added the search directory where wtk252 resides.
My problem is, after importing a ready-developed project into the same workspace one of the pieces of code continuously gives a class not found error for javax.microedition.io.ContentConnection
It's clear that one project understands how to resolve paths in javax.microedition and the other one doesn't. But I'm not sure how to fix this classpath issue because I don't know physically what the name of the precise jar file with javax.microedition.io.ContentConnection in it is called.
-
-
Thanks for the reply. Do you know if there is a way that I can just fix the classpath issue without adding any additional development kits or tools?
I get the impression that javax.microedition is already downloaded within my wireless toolkit. If that's the case, can I not fix the classpath so that the failing project can now resolve the javax.microedition.io path? (And if it's not that simple can someone please explain why it's not that simple.)
-
J?ust because you have javax.microedition does not mean that you have javax.microedition.io.
-
Brill, thanks, javax.microedition.io.ContentConection
now resolves.