문제

Possible Duplicate:
Changing the code of the class from jar file

I'm coming with this from .Net, where there's Reflector and Reflexil, enabling me to open an assembly and edit its code without having to re-compile it. I did some research, and I've found jd-gui, which lets me view java code inside a jar, but I can't find anything that resembles reflexil.

Is there any software which would let me modify jars without having to re-compile them?

도움이 되었습니까?

해결책

A jar is just a zip, actually, so there's no recompiling. Just unjar it (using jar xf), add, replace or delete some files or directories, and jar it again (using jar cf).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top