.JAVA - File Extension for Java Source Files


File extension JAVA is used for Java source code files. A JAVA sample file is provided. Free Java source code compilers are listed.

✍: FYIcenter.com


File Extension: .JAVA

File Content: Java source code.

What is Java? Java is a programming language developed by Sun Microsystems in 1995.

JAVA is the file extension for files storing Java source code.

Software applications written in Java need to go through two steps to be executed:

  • Compilation - A Java compiler is used to compile Java source code reading from Java files, and generate bytecode writing to class files.
  • Execution - A Java Virtual Machine (JVM) is used to run bytecode on the underlying computer system.

JAVA files are text files, which can be edited by any text editors. Here is a sample JAVA file containing the source code of a very simple Java application:

public class Welcome {
  public static void main(String args[]) {
    System.out.print("Welcome to FYIcenter.com!");

JAVA sample file: Click Welcome.java to download.

Java source code stored in JAVA files can be compiled by a number of free Java compilers:

2012-07-02, 3554👍, 0💬