![]() |
modifying a class file inside jar
I want to modify a .class file inside a jar file and put it back ..
How to do this? |
Re: modifying a class file inside jar
A class file contains bytecode, you'll to decompile it to the source and the modify and recompile!
|
Re: modifying a class file inside jar
I decompiled into source code(I mean the java files)
Now I cannot compile it seperately... Actually I tried like this in the cmd prompt.... I added required jar files in the classpath and compiled.. There is a statement like this "ClassNotFoundException x1" which gives an error - invalid declaration |
| All times are GMT +5.5. The time now is 12:34. |