Java jar符号信息:tdstrip的等价物是什么? [英] Java jar symbol info : what is the equivalent of tdstrip?

查看:188
本文介绍了Java jar符号信息:tdstrip的等价物是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个1MB的.jar文件。没有调试信息,它应该是大约100KB。现在,我如何剥离调试信息?

I have a .jar file which is 1MB. Without debug info, it should be about 100KB. Now, how do I strip the debug info?

来自borland世界的老人可能还记得一个名为 tdstrip的工具这将删除.exe中的符号信息。

Oldtimers from the borland world might remember of a tool called tdstrip which would remove the symbol info from an .exe.

Java世界中的等价物是什么?我正在尝试进行移动开发,其中1MB文件太大了。

What is the equivalent in the Java world? I'm trying to do mobile development where a 1MB file is way too big.

我知道我可以在没有调试信息的情况下重新编译和重建.jar文件,但是如果你没有资源等,你怎么去做?

I know that I could recompile and rebuild the .jar file without the debug info, but if you don't have sources, etc, how do you go about doing it?

推荐答案

Proguard 有缩小字节码的选项。

Proguard has options for shrinking bytecode.

这篇关于Java jar符号信息:tdstrip的等价物是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆