Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

java byte code help..???  RSS feed

 
Banil Telis
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can some pl explain workin of byte code in simple languages...???

thnx....
 
Joachim Rohde
Ranch Hand
Posts: 433
Netbeans IDE
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Banil Telis
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I will be careful in future....thanks for reply....
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16007
87
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you're curious at what the bytecode for a program looks like, then you can use the javap tool to show the bytecode.
 
Campbell Ritchie
Sheriff
Posts: 55332
157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
. . . 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!