home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 3 / AACD03.BIN / AACD / Programming / sofa / archive / SmallEiffel.lha / SmallEiffel / man / print_jvm_class.txt < prev    next >
Text File  |  1999-06-05  |  2KB  |  47 lines

  1.  
  2.                         The print_jvm_class command
  3.                                       
  4.    Usage
  5.    
  6.    print_jvm_class [options] <Path>[.class]
  7.    
  8.    Command print_jvm_class prints a human readable version of the <Path>
  9.    class file. Printing is done on standard output. This command was
  10.    developed to check the byte code produced by command compile_to_jvm.
  11.    It is useful only if you want to have a close look at the generated
  12.    Java byte code.
  13.    
  14.    This command may also be used to print Java byte code you obtained
  15.    with Java compilers, such as javac. We find the output of
  16.    print_jvm_class more readable than the output of javap.
  17.    
  18.    Options
  19.    
  20.    -version:
  21.           Show the number of the [1]version of SmallEiffel you're using.
  22.           
  23.    Examples
  24.    
  25.    First, you have to produce some class files using command
  26.    compile_to_jvm:
  27.    compile_to_jvm -boost hello_world
  28.           
  29.    Then, using command print_to_jvm_class you can print on standard
  30.    output a readable view of any produced class file. The following
  31.    command prints the main class :
  32.    print_jvm_class hello_world.class
  33.           
  34.    You can also print any class file of the hello_world directory. For
  35.    example, under Unix, you can print the byte code produced for class
  36.    INTEGER using command :
  37.    print_jvm_class hello_world/integer.class
  38.           
  39.                                    [Line]
  40.    Copyright © Dominique COLNET and Suzanne COLLIN - [2]<colnet@loria.fr>
  41.                   Last update: 05 June 1999, by DC & OZ. 
  42.  
  43. References
  44.  
  45.    1. file://localhost/home/colnet/SmallEiffel/man/man/SmallEiffelFAQ.html#Q02
  46.    2. mailto:colnet@loria.fr
  47.