Java Runner (client-only, powered by Piston)

Type Java code (public class Main) and run it in a sandboxed environment. Great for quick experiments and learning.

Editor

Tip: Your public class should be named Main, with a main(String[] args) method.

Input and Output

Resolving Java runtime…