Inside Java Class Files
JCF, JavaDump, and StripDebug
By Matt
Yourst
JCF source
| JavaDump source | StripDebug
source | JCF javadoc
documentation | Inside
JCF Home Page
This source code and documentation accompanies the article "Inside Java Class Files" by Matt Yourst in Doctor Dobb's Journal (September 1997.)
Included Files
Installing the Binaries
Add the jcfutils.zip file to your system classpath, or unzip the file into a directory already on the classpath. If unzipping, always expand the directories within jcfutils.zip. Use the unzip "-d" command line option or another option appropriate for your unzip utility.
Running the Binaries
JavaDump:
java lti.java.javadump.javadump [classfile.class] [-noconstpool]
StripDebug:
java lti.java.stripdebug.stripdebug [directory to strip]
JCF Package Documentation
Contacting the Author
Matt Yourst
Laserstars Technologies, Inc.
E-mail: yourst@laserstars.com
Inside JCF home page: http://www.laserstars.com/articles/ddj/insidejcf
Legal Information
I. Copyright.
All included source code, binaries, and information ("the Software") are Copyright 1997 Matt Yourst ("the Author"). Permission is granted to use the included files for any purpose so long as appropriate credit is given to the Author.
II. Disclaimer.
In no event shall the Author be liable for any special, indirect, or consequential damages arising out of the use or misuse of the Software, including but not limited to loss of profits, interruption of productivity, damage to personal and/or intellectual property, insanity, et cetera.
III. No Warranty
The Author makes no warranty, either express or implied, of merchantability
or fitness for a particular purpose. The Author further does not warrant
that the Software (1) will perform as described, (2) the operation and
content of the Software and documentation will be uninterrupted and error
free, (3) defects in the software will be corrected, et cetera.
IV. Trademarks
The following are trademarks or property of their respective owners.
All other trademarks or service marks not listed are used for identification
purposes only:
JavaTM - Sun Microsystems, Inc. JavaSoft division