How to modify a .java file in .jar file? -
i have services.jar file , have few packages inside jar file. need modify code of 1 java classes.
example - services.jar
packages inside services.jar - search , util
classes inside search package - filter.java - need edit code , need make new jar file.
please guide me.
you can if have code available you want modify. if yes, have extract jar either command line or using tool such winrar. here command extract jar command line:
jar -xvf services.jar
replace modified or updated /class file in extracted directory , recreate jar using following command commandline:
jar -cvf services.jar
Comments
Post a Comment