my dog learned polymorphism*
The moose likes Beginning Java and the fly likes How can i read bytecode ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How can i read bytecode ?" Watch "How can i read bytecode ?" New topic

How can i read bytecode ?

Anto Telvin
Ranch Hand

Joined: Aug 12, 2008
Posts: 113
hi all
i got to know that after compilation compiler produces bytecode.can anyone tell how to read that bytecode ?


Anto Telvin Mathew<br />Many of the life failures are people who did not realize how close they were to success when they give up. EDISON
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41065
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.

Ping & DNS - my free Android networking tools app
Anto Telvin
Ranch Hand

Joined: Aug 12, 2008
Posts: 113
I agree. Here's the link:
subject: How can i read bytecode ?
Similar Threads
What is Byte code enhancement
JIT Compiler
Writing a JVM
Java is faster than C/C++ in mem. allocation