Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Which Java command generates IJVM Code

  1. #1
    Junior Member
    Join Date
    Apr 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Which Java command generates IJVM Code

    Hi!
    Does anyone knows which Java command generates following IJVM code:
    ILOAD a
    BIPUSH 100
    IF_ICMPEQ L1
    ILOAD b
    BIPUSH 1
    ISUB
    ISTORE b
    GOTO L2
    L1:BIPUSH 0
    ISTORE c
    L2:

    THANKS!!


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,262
    Thanks
    176
    Thanked 821 Times in 764 Posts
    Blog Entries
    5

    Default Re: Which Java command generates IJVM Code

    The 'javap' tool can be used to print out the bytecode of a class, which is what this looks to be. Use the -c option and pass the class file to the utility. See the following for more information
    Java bytecode:

Similar Threads

  1. [SOLVED] Send a F5 command
    By mds1256 in forum Object Oriented Programming
    Replies: 2
    Last Post: March 18th, 2011, 03:23 AM
  2. How to set java compiler compliance with command under Linux
    By Eric97 in forum Java Theory & Questions
    Replies: 2
    Last Post: November 9th, 2010, 08:25 AM
  3. [SOLVED] Giving Java the name of a file to be read via command line?
    By lavloki in forum File I/O & Other I/O Streams
    Replies: 4
    Last Post: October 14th, 2010, 10:07 AM
  4. Run 2 systems command in applet, how?
    By bulgin in forum What's Wrong With My Code?
    Replies: 3
    Last Post: April 8th, 2010, 03:11 PM
  5. [SOLVED] Command Line Argument Help
    By EmSaint in forum Loops & Control Statements
    Replies: 2
    Last Post: January 28th, 2010, 09:55 AM