Compiled Java bytecode, executed by the JVM.
| 0x00000000 | CAFEBABE | ···· | 'CAFEBABE' magic |
A .class file holds JVM bytecode produced by the Java compiler; the version fields identify the JDK that emitted it. It shares the CA FE BA BE magic with fat Mach-O binaries — the following major-version field tells them apart.
Have a file that might be Java class file? Identify it with the File Type Identifier — it reads the magic number locally, nothing is uploaded. Or browse all formats.