<?xml version="1.0" encoding="utf-8"?>
<PRONOM-Report xmlns="http://pronom.nationalarchives.gov.uk">
  <report_format_detail>
    <FileFormat>
      <FormatID>802</FormatID>
      <FormatName>Java Class File</FormatName>
      <FormatVersion>
      </FormatVersion>
      <FormatAliases>
      </FormatAliases>
      <FormatFamilies>
      </FormatFamilies>
      <FormatTypes>
      </FormatTypes>
      <FormatDisclosure>
      </FormatDisclosure>
      <FormatDescription>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.</FormatDescription>
      <BinaryFileFormat>Text</BinaryFileFormat>
      <ByteOrders>
      </ByteOrders>
      <ReleaseDate>
      </ReleaseDate>
      <WithdrawnDate>
      </WithdrawnDate>
      <ProvenanceSourceID>1</ProvenanceSourceID>
      <ProvenanceName>Digital Preservation Department / The National Archives</ProvenanceName>
      <ProvenanceSourceDate>02 Feb 2007</ProvenanceSourceDate>
      <ProvenanceDescription>Description was submitted by Stadtarchiv Hof (Municipal Archives of Hof, Free State of Bavaria, Germany) in v112 of PRONOM signature file.</ProvenanceDescription>
      <LastUpdatedDate>21 Mar 2023</LastUpdatedDate>
      <FormatNote>
      </FormatNote>
      <FormatRisk>
      </FormatRisk>
      <TechnicalEnvironment>
      </TechnicalEnvironment>
      <FileFormatIdentifier>
        <Identifier>x-fmt/415</Identifier>
        <IdentifierType>PUID</IdentifierType>
      </FileFormatIdentifier>
      <ExternalSignature>
        <ExternalSignatureID>808</ExternalSignatureID>
        <Signature>class</Signature>
        <SignatureType>File extension</SignatureType>
      </ExternalSignature>
      <InternalSignature>
        <SignatureID>209</SignatureID>
        <SignatureName>Java Class File</SignatureName>
        <SignatureNote>Magic number (first four bytes) of every valid class file is 0xCAFEBABE</SignatureNote>
        <ByteSequence>
          <ByteSequenceID>284</ByteSequenceID>
          <PositionType>Absolute from BOF</PositionType>
          <Offset>0</Offset>
          <MaxOffset>
          </MaxOffset>
          <IndirectOffsetLocation>
          </IndirectOffsetLocation>
          <IndirectOffsetLength>
          </IndirectOffsetLength>
          <Endianness>Little-endian</Endianness>
          <ByteSequenceValue>CAFEBABE</ByteSequenceValue>
        </ByteSequence>
      </InternalSignature>
      <RelatedFormat>
        <RelationshipType>Has priority over</RelationshipType>
        <RelatedFormatID>1900</RelatedFormatID>
        <RelatedFormatName>Alias Pix Image File</RelatedFormatName>
        <RelatedFormatVersion>
        </RelatedFormatVersion>
      </RelatedFormat>
    </FileFormat>
    <SearchCriteria>Criteria</SearchCriteria>
  </report_format_detail>
</PRONOM-Report>
