# A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

.CLASS File Extension

NEW: Open any file on your PC with File Viewer

Java Class File Icon
File TypeJava Class File
4.4 (217 Votes) Thanks for voting!
Rare Uncommon Average Common Very Common
CategoryDeveloper Files
File Format Description

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

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.

Program(s) that open .CLASS files
Updated 7/31/2014