Top
pretty
short
SmallEiffel Tools: print_jvm_class
Syntax
print_jvm_class path[.class]
Print_jvm_class prints a human readable version of
the path.class file. Printing is done on standard output.
This command was developed to check the byte code generated
by compile_to_jvm. It is useful only if you want to
have a close look at the Java byte code.
Example
First, you have to produce some class files using compile_to_jvm:
compile_to_jvm -boost hello_world
Then you can use print_jvm_class to print on
standard output a readable view of any generated class
file. The following command prints the main class:
print_jvm_class hello_world.class
You can also print any class file of the hello_world
directory. For example, under Unix, you can print the
byte code produced for class INTEGER using the command:
print_jvm_class hello_world/integer.class
This command may also be used to print Java byte code produced by
javac (the Java compiler).
Top
pretty
short
This page was last changed by Oliver Elphick on 13th October 1997.