🟢 Foundation  ·  Lesson 03

Java Setup and Installation

Java Setup and Installation

Setting Up Java

To start coding in Java, install the JDK (Java Development Kit) and a code editor like VS Code, IntelliJ IDEA or even an online compiler.

Installation Steps (Windows)

  1. Download the JDK from Oracle's website (or use OpenJDK, which is free).
  2. Run the installer and finish setup.
  3. Set the PATH environment variable to the JDK's bin folder.
  4. Verify in Command Prompt:
java -version
javac -version
java version "17.0.x" javac 17.0.x

Quick Start (No Install)

Beginners can skip installation and use a free online compiler (like the ones on programiz or replit) to run Java directly in a browser.

Summary

  • Install the JDK and a code editor (or use an online compiler).
  • Set PATH to the JDK bin folder.
  • Verify with java -version and javac -version.

Java Setup करना

Java में coding शुरू करने के लिए JDK (Java Development Kit) और VS Code, IntelliJ IDEA जैसा editor — या online compiler — install करें।

Installation Steps (Windows)

  1. Oracle की website से JDK download करें (या free OpenJDK use करें)।
  2. Installer चलाकर setup पूरा करें।
  3. PATH environment variable को JDK के bin folder पर set करें।
  4. Command Prompt में verify करें:
java -version
javac -version
java version "17.0.x" javac 17.0.x

Quick Start (बिना Install)

Beginners installation छोड़कर free online compiler (जैसे programiz या replit) से Java सीधे browser में चला सकते हैं।

सारांश

  • JDK और code editor install करें (या online compiler use करें)।
  • PATH को JDK bin folder पर set करें।
  • java -version और javac -version से verify करें।
← Back to Java Tutorial
🔗

Share this topic with a friend

यह topic किसी दोस्त को भेजें

Found it useful? Send it to a classmate learning the same thing.

अच्छा लगा? जो दोस्त यही सीख रहा है, उसे भेज दीजिए।

\n