{
 "id": "java-class-file",
 "name": "Java Class File",
 "category": "other",
 "identifiers": {
  "extensions": [
   "class"
  ],
  "mime": [
   "application/java",
   "application/java-byte-code",
   "application/java-vm",
   "application/x-httpd-java",
   "application/x-java",
   "application/x-java-class",
   "application/x-java-vm"
  ],
  "puid": [
   "x-fmt/415"
  ],
  "wikidata": [
   "Q2193155"
  ],
  "magic": [
   {
    "offset": 0,
    "hex": "cafebabe",
    "notes": "Java Class File"
   }
  ],
  "signatures": [
   {
    "name": "Java Class File",
    "sequences": [
     {
      "position": "bof",
      "offset": 0,
      "pattern": "cafebabe"
     }
    ]
   }
  ],
  "priority_over": [
   "fmt/1092"
  ]
 },
 "status": "writable",
 "summary": "A file containing Java bytecode that can be executed on the Java virtual machine (JVM). A Java class file is usually generated by a Java compiler from a Java programming language source code file. Java is a high-level, class-based, object-oriented general-purpose programming language designed to have as few implementation dependencies as possible.",
 "tools": [
  {
   "name": "Apache Tika",
   "url": "https://tika.apache.org",
   "reads": true,
   "writes": false,
   "license": "Apache Software License 2.0",
   "open_source": true
  },
  {
   "name": "CodeWarrior Debugger",
   "url": "https://www.wikidata.org/wiki/Q122407283",
   "reads": true,
   "writes": false
  },
  {
   "name": "JAD",
   "url": "http://kpdus.com/jad.html",
   "reads": true,
   "writes": false
  },
  {
   "name": "javac",
   "url": "http://docs.oracle.com/javase/1.4.2/docs/tooldocs/windows/javac.html",
   "reads": false,
   "writes": true,
   "license": "GNU General Public License",
   "open_source": true
  },
  {
   "name": "PhotoRec",
   "url": "http://www.cgsecurity.org/wiki/PhotoRec",
   "reads": true,
   "writes": false,
   "license": "GNU General Public License",
   "open_source": true
  },
  {
   "name": "PuriFile",
   "url": "https://purifile.com",
   "reads": true,
   "writes": false
  },
  {
   "name": "XRuby",
   "url": "http://xruby.com",
   "reads": false,
   "writes": true,
   "license": "BSD licenses",
   "open_source": true
  }
 ],
 "projects": [
  {
   "name": "Kaitai Struct: java_class",
   "url": "https://formats.kaitai.io/java_class/",
   "kind": "grammar",
   "license": "CC0-1.0"
  },
  {
   "name": "PRONOM x-fmt/415",
   "url": "https://www.nationalarchives.gov.uk/PRONOM/x-fmt/415",
   "kind": "format-doc"
  },
  {
   "name": "Wikidata Q2193155",
   "url": "https://www.wikidata.org/wiki/Q2193155",
   "kind": "wiki"
  },
  {
   "name": "File Formats Wiki",
   "url": "http://fileformats.archiveteam.org/wiki/Java",
   "kind": "wiki"
  }
 ],
 "provenance": {
  "sources": [
   "kaitai",
   "pronom",
   "wikidata"
  ]
 },
 "updated": "2026-10-24",
 "parsers": [
  {
   "engine": "kaitai",
   "url": "https://github.com/kaitai-io/kaitai_struct_formats/blob/master/executable/java_class.ksy",
   "license": "CC0-1.0"
  }
 ],
 "aliases": [],
 "structure": [],
 "conversions": [],
 "samples": [],
 "claims": [],
 "verification": []
}