Java bytecode

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Category:Sun)
(samples)
 
(One intermediate revision by one user not shown)
Line 14: Line 14:
 
| pronom        =
 
| pronom        =
 
| type code      =
 
| type code      =
 +
| kaitai struct  = java_class
 
| uniform type  =
 
| uniform type  =
 
| conforms to    =  
 
| conforms to    =  
Line 25: Line 26:
  
 
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|.jar]] or .war files.
 +
 +
== Sample files ==
 +
* {{DexvertSamples|other/javaClass}}
  
 
==See also==
 
==See also==

Latest revision as of 02:16, 5 June 2025

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] Sample files

[edit] See also

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox