.class

1 claimant 1 primary 0 secondary unambiguous primary

SWH popularity

From the SWH-MSR-ARV dataset (Desmazières, Di Cosmo, Lorentz, MSR 2025; file nb_extensions_alphanum.csv) — one row per (ext, year) in the full SWH archive. Case-aggregated. citation.

179.6M
total occurrences
53.0M
since 2019 (29.5%)
1970–2023
years active

Case variants in archive: .class (179.6M), .CLASS (823), .Class (451), .CLAss (1), .claSS (1) — aggregated above.

Attribution status

This extension is attributed to java as primary by 1 authoritative claim.

Authoritative sources: ✗ Linguist · no claim ✗ Pygments · no claim ✓ Wikidata · Q251 ✗ Wikipedia · no claim

Disagree or have a correction? Open a labelling issue.

Prior manual labels (1)

LabelAnnotatorStatusEvidence (excerpt)
binary:executable
class file — ref
@achermnewJVM byte code... Not only Java is using it, Scala and Groovy as well for instancediscuss

Claimants (1)

Languages that list .class among their extensions. Strength reflects whether the upstream source treated it as their primary extension.
LanguageSourceStrength
javawikidataprimary

Wikidata says… (2)

File formats, image formats, audio codecs and other non-PL entities that claim .class on Wikidata (property P1195) or in the Wikipedia infobox. Source: data/derived/external_extension_index.csv. Click Use as new PL on any row to open the Add-PL form pre-filled with that entry's name, Wikipedia/Wikidata URL, and this extension — one submission creates the PL + claim.
Right entry isn't listed? Add manually ↗
FormatClass (Wikidata P31)Suggested labelMIMENotesAction
Java bytecode Q137496
instruction set of the Java virtual machine
file format; bytecodeUse as new PL ↗
Java class file Q2193155
file format
file formatapplication/java; application/java-byte-code; application/java-vm; application/x-httpd-java; application/x-java; application/x-java-class; application/x-java-vmUse as new PL ↗

SWH-mined examples (0)

No archived examples for .class in our local mirror yet.

Need an archived example for this extension?
No verbatim file with extension .class in our local SWH mirror yet. Submit a sample-mining request and a maintainer will run swh_extension_mining.py against the live archive for this extension; samples land here once the run completes.
(or open the pre-filled issue directly)