JavaJava compiler, IDE, and REPL.

Code, compile, run, and host your programs and apps.

Files
  • Main.java
Main.java
class Main {
  public static void main(String[] args) {
    System.out.println("Hello world!");
  }
}
java version "1.8.0_31" Java(TM) SE Runtime Environment (build 1.8.0_31-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)