File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes JAR and Class file reader Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Java in General
Bookmark "JAR and Class file reader" Watch "JAR and Class file reader" New topic

JAR and Class file reader

Zaafir Barahim
Ranch Hand

Joined: Dec 12, 2006
Posts: 36
How do i read the content and modify the content of a Jar file and how can i read and modify the code in a Class file

Joined: Dec 16, 2006
Posts: 2
I never tried to edit a class file. But used to view the contents usings
jclasslib viewer.

Jar file is just like a zipped file. You can open it using programs like
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42955
For both working with class files and working with jar files there are multiple tools you could use. Which one is appropriate depends on what you're trying to do - care to tell us about that?


on your way in you may have missed that we have a policy on screen names here at JavaRanch. Basically, it must consist of a first name, a space, and a last name, and not be obviously fictitious. Since yours does not conform with it, please take a moment to change it, which you can do right here.
I agree. Here's the link:
subject: JAR and Class file reader