• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 5167
11
Netbeans IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic