Win a copy of Murach's Java Programming this week in the Beginning Java 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.
 
The government thinks you are too stupid to make your own lightbulb choices. But this tiny ad thinks you are smart:
Thoughts on deprecation in Java
https://coderanch.com/t/683016/java/Deprecation-Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!