Home : File Types : CLASS File

.CLASS File Extension

File TypeJava Class File

DeveloperOracle
Popularity
4.4 (390 Votes) Thanks for voting!
Rare Uncommon Average Common Very Common
CategoryDeveloper Files
FormatBinary

Binary

This file is saved in a binary format, which requires a specific program to read its contents.

What is a CLASS file?

A CLASS file is a compiled .JAVA file created by the Java compiler. It contains bytecode, which is binary program code that is executable when run by a Java Virtual Machine (JVM). CLASS files are commonly bundled into .JAR files, which are included in the $CLASSPATH environment variable for execution.

More Information

CLASS files can be compiled from JAVA files using the javac command, which is included with a JVM installation. Many Java IDEs, such as Eclipse, can compile CLASS files on the fly as developers write program code.

Since there are multiple versions of the JVM (e.g., 1.4, 1.5, and 1.6), some CLASS files may not be compatible with certain JVM versions. The Java Runtime Environment (JRE) can execute CLASS files, but it cannot compile them since it does not include the javac binary.

NOTE: Oracle acquired Sun Microsystems, the original developers of Java. The JRE and JVM are often used synonymously to refer to the platform that runs Java applications.

FREE DOWNLOAD
Open over 300 file formats with File Viewer Plus.
Programs that open CLASS files
Windows
Oracle Java Runtime Environment
Eclipse IDE for Java Developers with JD-Eclipse plug-in
dirtyJOE
JD-GUI
DJ Java Decompiler
Mac
Oracle Java Runtime Environment
Eclipse IDE for Java Developers with JD-Eclipse plug-in
Apple Jar Launcher
JD-GUI
Linux
Oracle Java Runtime Environment
Eclipse IDE for Java Developers with JD-Eclipse plug-in
JD-GUI
Updated 8/24/2016

.CLASS Extension Information

This page contains information about the file extension CLASS and its known file associations. Our goal is to help you understand what a *.class file is and how to open it.

The Java Class file type, file format description, and programs listed on this page have been individually researched and verified by the FileInfo team. We strive for 100% accuracy and do not publish any information we have not verified.

If you would like to suggest any additions or updates to this page, please let us know.