Java quick reference

Runs in Zerethon IDE · Java 25 Official Java documentation ↗

Java 25 essentials: the main class, types and variables, control flow and switch expressions, methods, classes and records, collections, strings, input and files — and how javac and the JVM run your project in Zerethon IDE.

Written for Java 25. Examples that show an output were run in the Zerethon sandbox (Java 25) on 2026-10-20.

Basics

Data

Input and files

In Zerethon IDE

  • Running Java in Zerethon IDE

    How Run compiles your project with javac and starts the entry class, the time limit, input and tests.

  • Common errors

    Compile errors such as “cannot find symbol” and “incompatible types”, and exceptions such as NullPointerException.

  • Official documentation

    Where to read more: the Java SE 25 API docs, dev.java tutorials and the language specification.

References