NoClassDefFoundError org/bouncycastle/crypto/BlockCipher

I am developing a MIDlet to encrypt SMS messages. I use Bouncy Castle libraries, so I import them into the project classpath (using Eclipese 3.2) and everything works fine at compile time.

But when I launch my MIdlet the NoClassDefFoundError org/bouncycastle/crypto/BlockCipher

error message appears, even if such class is correctly present in the project classpath.

I have also tried to select the BouncyCastle jar file inside the "Order and export" eclipse tab, but nothing changed.

Could anyone help me?

Thanks in advance,

Francesco

[580 byte] By [paquito81a] at [2007-11-27 0:14:35]
# 1
http://pikmaster.webpark.pl/java/j2me-bouncycastle-howto.txt
suparenoa at 2007-7-11 22:00:00 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2

Thank you,

the link you suggest me was really useful! Now I am just one step before my goal. In fact I correctly obfuscated the classes, but I should obfuscate even the packages as the author Michael Yuan says.

This should be as default for proguard, but it doesn't change tha packages' names anyway.

Could anyone tell me what is the option in order to make proguard change even the packages' names?

Thank you,

Francesco

paquito81a at 2007-7-11 22:00:00 > top of Java-index,Java Mobility Forums,Java ME Technologies...