We developed a project in java using netbeans.In that we use bouncycastle (.java classes not .class).But the problem is we used only very few .java classes in org.bouncycastle for DES and soon..
Thank you.
you can use a free tool called proguard that can remove unused classes from your project. It can also obfuscate if you so desire, and strip and compact as well. Well worth checking out.