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

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -