wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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: 41155
    
  45
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: 41155
    
  45
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 ?
 
Similar Threads
What is "javap"?
Strings
post increment operator
Viewing compiled code
Java execution details in System.out