Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

J2ME application  RSS feed

 
Naveen Garg
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I Have some class file which used javax/microedition/lcdui package.
When I convert in to source file using jascii-v1.0.20 convertor.
It give error message like Exception in thread "main" java.lang.reflect.InvocationTargetException: java.lan
g.NoClassDefFoundError: javax/microedition/lcdui/Canvas
Can any body tell me how I convert Class file to Java source code.
 
Jonathan Knudsen
Author
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know what jascii-v1.0.20 is, but it sounds like you need to include the MIDP classes in your classpath.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!