Java
A practical, modern path through the Java ecosystem.
2,870 lessons·All lessons free
- 1What is the JDK and Why Do You Need It?
- 2JDK vs JRE vs JVM: The Three-Layer Architecture
- 3Choosing a JDK Distribution: Oracle, OpenJDK, and Others
- 4Installing the JDK on Your Operating System
- 5Setting the JAVA_HOME Environment Variable
- 6Adding Java to Your System PATH
- 7Verifying Your Installation with java -version
- 8Overview of JDK Tools: javac, java, jar, and javadoc
- 9Anatomy of a Java Source File
- 10The main Method: Entry Point of Execution
- 11Writing Your First Hello World Program
- 12Compiling with javac
- 13Running with java
- 14Understanding Compilation Errors
- 15Understanding Runtime Errors
- 16The System.out.println Method
- 17Comments in Java: Single-Line and Multi-Line
- 18Source File and Class Name Matching
- 19What is Bytecode? The Bridge Between Source and Machine Code
- 20The Java Virtual Machine (JVM): An Abstract Computer
- 21Write Once, Run Anywhere: How Bytecode Enables Portability
- 22javac vs java: The Compiler and Runtime Tools
- 23Inside a .class File: Structure and Contents
- 24The JVM Execution Process: Loading, Verifying, and Running
- 25JIT Compilation: From Bytecode to Native Code at Runtime