Skip to content

Glossary: Java Basics

java

Also written: java command, java -version

The command that starts the JVM. `java Hello.java` compiles and runs a source file, while `java Hello` runs an already compiled `.class` file.

Where the book teaches it

Related terms

JVM (Java Virtual Machine)CompilerSingle-file launch