FileInfo

Languages

Overview

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 developer of Java . The JRE and JVM are often used synonymously to refer to the platform that runs Java applications.

Popularity4.2/5

900 votes

Quick AppOpen with
VerifiedVerified by FileInfo.com The FileInfo.com team has independently researched the Java Class file format and Mac, Windows, and Linux apps listed on this page. Our goal is 100% accuracy and we only publish information about file types that we have verified. If you would like to suggest any additions or updates to this page, please let us know .

Apple Jar Launcher Icon

Breadcrumbs

DeveloperOracle
Popularity4.2 | 900 Votes

Previous / Next

In-Depth

.CLASS File Extension

Java Class File

DeveloperOracle
Popularity
4.2  |  900 Votes
 

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 developer of Java . The JRE and JVM are often used synonymously to refer to the platform that runs Java applications.

Open over 400 file formats with File Viewer Plus . Free Download

Programs that open CLASS files

Sort

Pricing

Program Name

Platform

Reset

X

Windows

Oracle Java Runtime Environment

Free

Eclipse IDE for Java Developers

with JD-Eclipse plug-in

Free

dirtyJOE

Free

JD-GUI

Free

JetBrains IntelliJ IDEA

Free Trial

DJ Java Decompiler

Free

Mac

Oracle Java Runtime Environment

Free

Eclipse IDE for Java Developers

with JD-Eclipse plug-in

Free

JD-GUI

Free

JetBrains IntelliJ IDEA

Free Trial

Linux

Oracle Java Runtime Environment

Free

Eclipse IDE for Java Developers

with JD-Eclipse plug-in

Free

JD-GUI

Free

JetBrains IntelliJ IDEA

Free Trial

Category: Developer Files

Updated: September 28, 2020

FAQ

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.