Search code examples
javanetbeansjava-mebouncycastle

Removing unnessary classes from project


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..

Is there any way or tool to remove unused classes in bouncycastle package..Please provide me a solution

Thank you.


Solution

  • 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.