Java Development Kit (JDK) Setup
Java Code Writing: Understanding Editors & IDEs
Java Development Kit (JDK) Setup
The Java Development Kit (JDK) is a software development environment used for
developing Java applications and applets. It includes the Java Runtime Environment
(JRE), an interpreter/loader (Java), a compiler (javac), an archiver (jar), a documentation
generator (Javadoc), and other tools needed in Java development.
To set up the JDK:
1. Go to the official Oracle
website: https://www.oracle.com/java/technologies/javase-jdk15-
downloads.html
2. Download the JDK package for your specific operating system.
3. After downloading, install the JDK by following the installation wizard.
4. Verify the installation by opening a command prompt and typing javac -
version . The output should display the installed version of the JDK.
Note: It's important to set the JAVA_HOME environment variable to the installation
directory of the JDK. This is required for some tools and applications to function
correctly.
Additional Resources
• https://www.techtarget.com/whatis/definition/Java-Development-Kit-JDK
• https://www.oracle.com/java/technologies/javase-jdk15-downloads.html
• https://mkyong.com/java/how-to-set-java_home-on-windows-10/
,Install JDK on Microsoft Windows
Step 1: Download and Install Java Development Kit (JDK)
The very first step is to download the Oracle Java Development Kit
(JDK) from the Official Oracle Website. For that, Head over to the Official
Website.
You need to identify your system specifications to choose the Product/file
description. The website will contain the latest version for your
corresponding system. For Windows, we’ll be downloading the latest x64
Installer of Java SE Development Kit 18. After the download is complete,
proceed to install the JDK by following the bootstrapped steps.
, Step 2: Configure Environment Variables
After the installation is complete, we have to configure environment variables
to notify the system about the directory in which JDK files are located.
Proceed to C:\Program Files\Java\jdk-{YOUR_JDK_VERSION}\bin (replace
{-} with your JDK version)
Java Code Writing: Understanding Editors & IDEs
Java Development Kit (JDK) Setup
The Java Development Kit (JDK) is a software development environment used for
developing Java applications and applets. It includes the Java Runtime Environment
(JRE), an interpreter/loader (Java), a compiler (javac), an archiver (jar), a documentation
generator (Javadoc), and other tools needed in Java development.
To set up the JDK:
1. Go to the official Oracle
website: https://www.oracle.com/java/technologies/javase-jdk15-
downloads.html
2. Download the JDK package for your specific operating system.
3. After downloading, install the JDK by following the installation wizard.
4. Verify the installation by opening a command prompt and typing javac -
version . The output should display the installed version of the JDK.
Note: It's important to set the JAVA_HOME environment variable to the installation
directory of the JDK. This is required for some tools and applications to function
correctly.
Additional Resources
• https://www.techtarget.com/whatis/definition/Java-Development-Kit-JDK
• https://www.oracle.com/java/technologies/javase-jdk15-downloads.html
• https://mkyong.com/java/how-to-set-java_home-on-windows-10/
,Install JDK on Microsoft Windows
Step 1: Download and Install Java Development Kit (JDK)
The very first step is to download the Oracle Java Development Kit
(JDK) from the Official Oracle Website. For that, Head over to the Official
Website.
You need to identify your system specifications to choose the Product/file
description. The website will contain the latest version for your
corresponding system. For Windows, we’ll be downloading the latest x64
Installer of Java SE Development Kit 18. After the download is complete,
proceed to install the JDK by following the bootstrapped steps.
, Step 2: Configure Environment Variables
After the installation is complete, we have to configure environment variables
to notify the system about the directory in which JDK files are located.
Proceed to C:\Program Files\Java\jdk-{YOUR_JDK_VERSION}\bin (replace
{-} with your JDK version)