Hi "k", I am assuming that "javap" is on your path (to confirm, just type the command: javap -help and you should get a "help" message) Now I'm assuming that you have a class called "MyClass" that you want to use "javap" on. So, according to your description, there should be a file named "MyClass.class" in the current directory. If all the above is correct, then you should type this command (to achieve your desired result): javap -classpath . MyClass [Note: The above was tested on a Windows 98 computer with JDK 1.4.1] Hope this helps you. Good Luck, Avi.
javap is a disassembler. If you use the -c option, it will print out a human readable version of the bytecode. There are also decompilers (such as JODE) which go one step further and create normal java source code from bytecode, but javap does not. To understand it, you'll have to do some reading of the Java VM Spec.