Java Bytecode Version: Difference between revisions
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
{|class="wikitable" style="text-align: left;" | {|class="wikitable" style="text-align: left;" | ||
| | ! Java Version | ||
! Bytecode Version | |||
|- | |||
| 1.0 || 1.1 | |||
|- | |- | ||
|} | |} |
Revision as of 19:01, 12 June 2021
Internal
Overview
A valid class file starts with 0xcafebabe
, followed by the minor version as unsigned short, followed by the major version, as unsigned short.
Java Version | Bytecode Version |
---|---|
1.0 | 1.1 |
Playground
The following project produces a bytecode-version.jar that reads the bytecode version from a Java class: