Editing A Jar File In Netbeans

Started by
2 comments, last by Storyyeller 13 years, 4 months ago
I have an open source jar file (it contains all the .java files as well as class files) which I am trying to edit. However, I can't figure out anyway to do it. Unfortunately, I don't understand anything about Ant scripts or building, so I use an IDE which hopefully hides away the confusing details.
I trust exceptions about as far as I can throw them.
Advertisement
You can think of a jar file like a zip file.

You simply need to extract the java files, make your modifications, then compile & export the class files back to a jar.

You can either rebuild all the classes, or just the ones you've modified.

Which IDE are you using?
Netbeans
I trust exceptions about as far as I can throw them.
bump
I trust exceptions about as far as I can throw them.

This topic is closed to new replies.

Advertisement