Install JDK

Share

Install JDK

To install the Java Development Kit (JDK) on your system, you can follow these general steps. Please note that the specific instructions may vary depending on your operating system.

1. Visit the Oracle JDK or OpenJDK Website:

First, decide whether you want to install the Oracle JDK (a commercial version with long-term support) or the OpenJDK (an open-source implementation of the Java Platform).

2. Installation Steps (Windows, macOS, Linux):

The installation process may vary depending on your operating system. Here are instructions for the most common ones:

  • Windows:

    • For Oracle JDK: Run the downloaded installer and follow the on-screen instructions.
    • For OpenJDK: You can use Windows package managers like Chocolatey or scoop to install OpenJDK. Alternatively, you can manually extract the downloaded archive and set the PATH environment variable to include the JDK’s bin directory.
  • macOS:

    • For Oracle JDK: Run the downloaded DMG file and follow the installation steps.
    • For OpenJDK: macOS users can use package managers like Homebrew (brew install openjdk@11) to install OpenJDK.
  • Linux:

    • For Oracle JDK: Run the downloaded installer or follow the instructions for your package manager (e.g., DEB or RPM) if available.
    • For OpenJDK: Use your package manager (e.g., apt, yum, or dnf) to install OpenJDK. For example, on Ubuntu, you can run sudo apt install openjdk-11-jdk.

3. Verify Installation:

After the installation is complete, you can verify it by opening a terminal or command prompt and running the following command:

bash
java -version

This command will display the installed Java version. Additionally, you can check the JDK version with:

bash
javac -version

Both commands should provide information about the installed JDK version.

Demo Day 1 Video:

 
You can find more information about Java in this Java Docs Link

 

Conclusion:

Unogeeks is the No.1 Training Institute for Java Training. Anyone Disagree? Please drop in a comment

You can check out our other latest blogs on Java Training here – Java Blogs

You can check out our Best in Class Java Training details here – Java Training

💬 Follow & Connect with us:

———————————-

For Training inquiries:

Call/Whatsapp: +91 73960 33555

Mail us at: info@unogeeks.com

Our Website ➜ https://unogeeks.com

Follow us:

Instagram: https://www.instagram.com/unogeeks

Facebook: https://www.facebook.com/UnogeeksSoftwareTrainingInstitute

Twitter: https://twitter.com/unogeeks


Share

Leave a Reply

Your email address will not be published. Required fields are marked *