Language toolkit
The Java Development Kit includes the javac compiler and java launcher.
Build and run the complete Main.java examples locally. A runtime alone may not include javac.
Official setup instructions ↗
At the PowerShell prompt. Type the command, then press Enter. PSTool guide↗
Check both the launcher and compiler.
java --version javac --version
What you should see: Both commands print versions. If javac is missing, check the JDK installation and PATH.
Save the lesson’s complete download as Main.java in your practice folder. In that folder’s PowerShell terminal, run each line in order.
javac Main.java java Main
What you should see: The first command creates a class file. The second runs Main and prints the example’s result.
Some use it only for optional local practice. Each lesson explains what you actually need.
Guide reviewed 2026-09-09. Menu labels can differ between versions.