• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

(Eclipse) Cannot find the class file for javax.microedition.io.ContentConnection

 
Andrew Harvey
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've downloaded and configured eclipse j2me plugin and am having no difficulty
creating Midlets according to the eclipse documentation
http://eclipseme.org/docs/createProject.html
(Also I have sun java wireless toolkit 2.5.2)

(I have imported wtk252 in window/preferences/j2me/dev mgmt
and added the search directory where wtk252 resides.)

***

However, 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 configure the build path using
QuickFix

ie I don't know physically what the name of the jar file with
javax.microedition.io.ContentConnection in it is called.
 
Darryl Burke
Bartender
Posts: 5149
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cross post
http://forums.sun.com/thread.jspa?threadID=5434683
 
Andrew Harvey
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Darryl, your point is? Someone else has kindly pointed out to me that this forum has an explicit policy about cross posting. In the light of that fact, which I wasn't aware of, I'll be sure to let either forum know if the other one comes up with a solution to my classpath problem.

The cross-posting issue at hand appears quite reasonably to be one of some generous soul having wasted his or her time answering a question which has already been answered. That difficulty must also allow that a given answer might not work. There is, perhaps, a difference between answering a question and solving the problem.


SOLUTION:
The answer is that javax.microedition.io is not an integral part of javax.microedition and has to be found and installed separately. There is an explanation, (posted by me) in the cross posting link above.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic