Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using BouncyCastle in midlet -- Error in console

 
Nicky Eng
Ranch Hand
Posts: 378
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use Eclipse 3.2 which has j2me plug in.

Previously i asked about encryption in this forum but not much help, so i decided to use bouncy castle encryption package.


runtime error give me the following error message WHEN i click "send" button in my midlet.


i dont think there is wrong with the code.
Is it project setting error ?
Any idea to fix this NoClassDefFoundError?

its urgent.
pls any1 can help ?

thanks in advance.
from
Nick
 
Ryan Muster
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure but to me it just looks like that class is missing?
It maybe that you have it in classpath so it works in test but not on cell?
I think you just need to stick that class in the package.

When I work with bouncy I always use it at source level, ie I dont use libs.
Its good but its full of excess stuff, and I pull out as much as I can once its working. I havnt used it on cell, but I think there trimming it down is even more important.

I remember seeing a few article on bcy and cells... probably worth a google.

Good luck...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic