Java workshop

Compile and run Java

javac compiles the program, then it runs. stdin is the box under the source. stdout and compiler messages show on the right.

Java tutorial

Ready. Press Compile & run, or Ctrl + Enter.

Main.javaJava 21 · javac
Build logIdle
Compiler messages appear here.
Program output
Run the program to see stdout.