This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes What is javap in java ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "What is javap in java ?" Watch "What is javap in java ?" New topic
Author

What is javap in java ?

siva chaitanya
Ranch Hand

Joined: Jul 05, 2011
Posts: 59
Actually i am new to java. The javap command disassembles a class file.I want to know what disassembles means.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42367
    
  64
Start here: http://en.wikipedia.org/wiki/Disassembler, http://download.oracle.com/javase/1,5.0/docs/tooldocs/windows/javap.html and http://www.javaranch.com/journal/200607/Journal200607.jsp#a5


Ping & DNS - my free Android networking tools app
siva chaitanya
Ranch Hand

Joined: Jul 05, 2011
Posts: 59


Thank you Dittmer for your reply now i understand what disassembles means. It means converting machine language to assembly language. What iis the use of converting? Directly we can execute that program.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42367
    
  64
The point is to make the code human readable. With assembly language you have a chance of understanding what's going on; with machine language (which is often in hex) few mere mortals do :-)
siva chaitanya
Ranch Hand

Joined: Jul 05, 2011
Posts: 59
Ulf Dittmer wrote:The point is to make the code human readable. With assembly language you have a chance of understanding what's going on; with machine language (which is often in hex) few mere mortals do :-)


Thank you Dittmer now i understood very well.I also gone through several articles of java and my confusion is cleared now.Once again thank you so much for spending your valuable time for my question.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is javap in java ?