Code · 1 file
Sample Java Class File
Compiled Java bytecode (class-file version 61, Java 17), beginning with the CAFEBABE magic number.
Java class · 2.1 KB
Java class file (Java 17 bytecode)
Our Java sample compiled with javac --release 17 (class-file version 61, magic CAFEBABE). Run it with java Sample from the download folder alongside its nested-class files.
CC0 · free for any use · Verified by an independent tool · Report a problem
Browsers can’t display .class files, so there is no preview. Download it to open it in a compatible app.
File details
Companion files
This sample is made of 2 files served from the same folder. Players and loaders fetch the companions automatically from the main file's URL.
Sample$Customer.class1.3 KB
Download from the command line
curl -L -o Sample.class https://files.samplefiles.com/code/class/Sample.classwget https://files.samplefiles.com/code/class/Sample.classhttps://files.samplefiles.com/code/class/Sample.classprintf '%s %s\n' 9fbc18611d5f89cae507984cd02b3b34f8b4919cf4729ecf82c142998eafbecc Sample.class | shasum -a 256 -cOr check the download in your browser with the checksum calculator.