• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can i read bytecode ?

 
Anto Telvin
Ranch Hand
Posts: 113
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all
i got to know that after compilation compiler produces bytecode.can anyone tell how to read that bytecode ?


thanks
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use the "javap" tool to display byte code; its "-c" switch does that.

For better understanding, the JVM specification is helpful, as is this introductory article.
 
Anto Telvin
Ranch Hand
Posts: 113
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic