Any Java counterpart for `/usr/bin/strip`?
问题 Is there any tool that can remove debug info from Java .class files, just like /usr/bin/strip can from C/C++ object files on Linux? EDIT: I liked both Thilo's and Peter Mmm's answers: Peter's was short and to the point exposing my ignorance of what ships with JDK; Thilo's ProGuard suggestion is something I'll definitely be checking out anyway for all those extra features it appears to provide. Thank you Thilo and Peter! 回答1: ProGuard (which the Android SDK for example ships with to reduce