Hello, java.io.BufferedReader is not part of the MIDP/CLDC Standard, so therefore Jar with references to this class will not run. So the complaining of your build-enviroment is right, there IS NO such class.
Maybe you should read some tutorials on MIDP-Programming. The toolkits normally have a documentation in the directory docs. Try this: http://today.java.net/pub/a/today/2005/02/09/j2me1.html?page=1 If you plan to do more stuff in J2ME-Enviroments, than buy the book "J2ME in a nutshell". I read it, its a very good basis to start from! Do NOT manually include the JDK-Libs in your build-path. That will not work, as a real-device does not have those classes available. Greetings, Markus Despot Jakimovski schrieb: > Hi! > > When attempting to run a midlet, I have a problem with the classpath. I get: > " > java.lang.NoClassDefFoundError: java/io/BufferedReader > at config.ConfigUtil.readLineFromFile(+43) > at config.ConfigUtil.isMockup(+7) > at midlet.DatabaseInspectorMidlet.initializeServiceType(+3) > at midlet.DatabaseInspectorMidlet.initialize(+4) > at midlet.DatabaseInspectorMidlet.startApp(+12) > at javax.microedition.midlet.MIDletProxy.startApp(+7) > at com.sun.midp.midlet.Scheduler.schedule(+270) > at com.sun.midp.main.Main.runLocalClass(+28) > at com.sun.midp.main.Main.main(+116) > " > > I understand that it is a classpath error (that the compiler doesn't see > the java.io package), but it should be included in the JDK1.5.0_12 that > I included as a library to the java build path in the project > (Project->Properties->Java Build Path). I've read numerous forums > including this list but I really don't know what exactly I could do... > In Project->Properties->Java Build Path (Source tab) I have: > - (Folder) NameOfProject > Included: (All) > Excluded: .processed/;deployed/;verified/ > Native Library Location: (None)\ > (Projects tab): > / > (Libraries tab): > -... > -... > -... > - J2ME librabry (J2ME Wireless Toolkit 2.2/DefaultGrayPhone) > - JRE System Library [jdk1.5.0_12] > (Order and Export tab) I have checked values for the following: > -NameOfDatabase > - J2ME librabry (J2ME Wireless Toolkit 2.2/DefaultGrayPhone) > -... > -... > -... > - JRE System Library [jdk1.5.0_12] > > Can you please clarify to me what the problem is and how can I fix it? > Or at least redirect me to a place I can read about this stuff. > > Thanks in advance, > Despot > > ------------------------------------------------------------------------ > Be a better Heartthrob. Get better relationship answers > <http://us.rd.yahoo.com/evt=48255/*http://answers.yahoo.com/dir/_ylc=X3oDMTI5MGx2aThyBF9TAzIxMTU1MDAzNTIEX3MDMzk2NTQ1MTAzBHNlYwNCQUJwaWxsYXJfTklfMzYwBHNsawNQcm9kdWN0X3F1ZXN0aW9uX3BhZ2U-?link=list&sid=396545433>from > someone who knows. > Yahoo! Answers - Check it out. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Eclipseme-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/eclipseme-users -- ********************************* [EMAIL PROTECTED] http://www.psitronic.de psitronic IT-Solutions Markus Sinner W-Rathenau-Str. 14 - 68642 Bürstadt Tel.: (+49)6206 / 963513 Fax: (+49)6206 / 963514 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Eclipseme-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/eclipseme-users
