File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes java byte code help..??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "java byte code help..???" Watch "java byte code help..???" New topic
Author

java byte code help..???

Banil Telis
Greenhorn

Joined: Jan 13, 2011
Posts: 9
can some pl explain workin of byte code in simple languages...???

thnx....
Joachim Rohde
Ranch Hand

Joined: Nov 27, 2006
Posts: 423

First: Welcome
Second: UseRealWords
Third: As a starting point have a look at http://en.wikipedia.org/wiki/Java_bytecode and http://en.wikibooks.org/wiki/Java_Programming/Byte_Code
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

Welcome to the JavaRanch.

Like Joachim already said please UseRealWords. Using these abbreviations only cause confusion since we have a lot of people that don't speak English natively (including me).

You don't really need to know how Java byte code works to be able to program in Java. Most programmers don't and don't really care.


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Banil Telis
Greenhorn

Joined: Jan 13, 2011
Posts: 9
I will be careful in future....thanks for reply....
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41499
    
  53
In summary, the answer to the question is no - there is no way to explain Java bytecode (and the JVM) in simple terms, because it's a rather complex mechanism.


Ping & DNS - my free Android networking tools app
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14104
    
  16

If you're curious at what the bytecode for a program looks like, then you can use the javap tool to show the bytecode.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38348
    
  23
. . . and the meanings of the 256 different codes can be found in the JVM specification.
But this isn't a "beginning" subject, so I shall move this discussion.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java byte code help..???