How to Run Hello World in Java Using Notepad | Java for Beginners 2026 (No IDE Required)

Опубликовано: 27 Июль 2026
на канале: Great Life Circle
17
3

🚀 In this tutorial, you'll learn how to write and run your FIRST Java program using just Notepad and Command Prompt — no IDE, no complex setup!

Whether you're a complete beginner or just getting started with Java, this step-by-step guide walks you through everything from installing the JDK to seeing "Hello, World!" printed on your screen.

✅ What you'll learn:
• How to write Java code in Notepad
• How to save a .java file correctly
• How to compile using javac in CMD
• How to run your Java program using the java command

⏱️ Timestamps:
Open Notepad & write code
Save the file correctly
Compile with javac
Run the program
Output & wrap up

🔧 Tools used:
Java JDK 21 (free download from oracle.com)
Notepad (built into Windows)
Command Prompt (CMD)

📌 This is the EASIEST way to get started with Java without downloading any IDE like Eclipse or IntelliJ IDEA!

How to Configure JAVA_HOME and Path in Windows Laptop/System click on this link :    • How to Configure JAVA_HOME and Path in Win...  

👍 If this helped you, smash the LIKE button and SUBSCRIBE for more beginner Java tutorials!

🔔 Turn on notifications so you never miss a new video!

---

#Java #JavaForBeginners #HelloWorldJava #LearnJava #JavaTutorial #ProgrammingForBeginners #JavaNotepad #JavaCMD #CodingForBeginners #JavaBasics