Java bytecode
From Just Solve the File Format Problem
(Difference between revisions)
Dan Tobias (Talk | contribs) |
(Changed primary category) |
||
Line 2: | Line 2: | ||
| name = Java bytecode | | name = Java bytecode | ||
| formattype = electronic | | formattype = electronic | ||
− | | subcat = | + | | subcat = Executables |
| subcat2 = | | subcat2 = | ||
| subcat3 = | | subcat3 = | ||
Line 29: | Line 29: | ||
==See also== | ==See also== | ||
* https://en.wikipedia.org/wiki/Java_bytecode | * https://en.wikipedia.org/wiki/Java_bytecode | ||
+ | |||
+ | [[Category:Development]] |
Revision as of 19:09, 7 June 2017
Java bytecode is normally contained within a .class file and can be executed by Java Virtual Machine. It is an intermediate stage between a human-readable code and machine code, a compiler is used to turn normal code into bytecode.
Bytecode consists of the predefined set of instructions which are known to the Virtual Machine. Within the .class file these instructions are stored in binary representation.
The .class files are rarely distributed by themselves, but are combined in .jar or .war files.