Java bytecode

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{FormatInfo | name = Java bytecode | formattype = electronic | subcat = Development | subcat2 = | subcat3 = | subcat4 = | subcat...")
 
(Added Kaitai Struct link)
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
| name          = Java bytecode
 
| name          = Java bytecode
 
| formattype    = electronic
 
| formattype    = electronic
| subcat        = Development
+
| subcat        = Executables
 
| subcat2        =  
 
| subcat2        =  
 
| subcat3        =  
 
| subcat3        =  
Line 14: Line 14:
 
| pronom        =
 
| pronom        =
 
| type code      =
 
| type code      =
 +
| kaitai struct  = java_class
 
| uniform type  =
 
| uniform type  =
 
| conforms to    =  
 
| conforms to    =  
Line 20: Line 21:
 
| caption        =
 
| caption        =
 
}}
 
}}
 +
'''Java bytecode''' is normally contained within a .class file and can be executed by Java Virtual Machine (see [[Java]]). It is an intermediate stage between a human-readable code and machine code, a compiler is used to turn normal code into bytecode.
  
'''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.
  
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|.jar]] or .war files.
 
+
The .class files are rarely distributed by themselves, but are combined in .jar or .war files.
+
  
 
==See also==
 
==See also==
* https://en.wikipedia.org/wiki/Java_bytecode
+
* [[Wikipedia: Java bytecode]]
 +
 
 +
[[Category:Development]]
 +
[[Category:Sun]]

Latest revision as of 15:03, 30 June 2017

File Format
Name Java bytecode
Ontology
Extension(s) .class
Kaitai Struct Spec java_class.ksy
Released 1995

Java bytecode is normally contained within a .class file and can be executed by Java Virtual Machine (see Java). 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.

[edit] See also

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox