The issue you're running into is mostly likely the fact that the platforms (either emulators or phones) don't implement JSR177. Just because Sun (and The Powers That Be) define a particular JSR doesn't mean that each and every phone supports them. Your choice is either to detect whether a phone supports what you need (and avoid using stuff if it doesn't) or else to bundle the implementing classes into your own app.
Read the section of the documentation on "adding JAR files to a MIDlet suite". (http://eclipseme.org/docs/advJarFiles.html) Although the discussion is in terms of JAR files, adding a directory containing class files should work the same way. Kevin Hunter -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Clarke Sent: Monday, April 03, 2006 8:50 AM To: [email protected] Subject: [Eclipseme-users] Runtime Classpaths Hi, I am new to Mobile Java, so please excuse me if this appears to be a really stupid question! I am trying to make a small J2ME app using JSR177 to provide a checksum of a small amount of data, however I cannot get it to run. It compiles fine, but attempting to run it throws up a NoClassDefFundError for each of the JSR177 classes I'm using. I assume from this that there is a seperate runtime classpath somewhere that I need to add the location of these classes to? The extra classes are in the form of individual class files as I cannot find a .jar of them. I know there is a Classpath tab on the run options for conventional Java programs, but this doesn't seem to appear for the Wireless apps. I am using EclipseME v1.1.0 and Eclipse v3.1.2. Can anyone suggest what I have missed? Many Thanks, Nick Clarke [EMAIL PROTECTED] ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Eclipseme-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/eclipseme-users ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Eclipseme-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/eclipseme-users
