Java Development Kit - JDK
Dear Students, In this Tutorial we will Learn How to install and configure JDK (Java Development Kit) in Step by Step Guideline. Moreover we will also discuss How to write Java programs in Notepad. We are here to facilitate your learning, so read the complete article. The Java Development Kit (JDK) is not optional for Java developers. It is absolutely mandatory. You can read all the step by Step Guideline followed by screenshots to help you in Installation and Configuration of Java Development Kit (JDK)
Java Development Kit - JDK Installation and Configuration
Step by Step Guideline for Java Development Kit - JDK Installation and Configuration
Step 1:
Download latest version of JDK | Download |
JDK Installation and Configuration Step 1 |
 |
JDK Installation and Configuration Step 1-2 |
Step 2:
Run JDK setup file, a window will prompt.
 |
JDK Installation and Configuration Step 2 |
Now : Hit next to start installation…
 |
JDK Installation and Configuration Step 2-1 |
Now : Click Next... |
JDK Installation and Configuration Step 2-2 |
 |
JDK Installation and Configuration Step 2-3 |
 |
JDK Installation and Configuration Step 2-4 |
 |
JDK Installation and Configuration Step 2-5 |
 |
JDK Installation and Configuration Step 2-6 |
Step 3 :
Now go to start menu -> run and execute cmd (command prompt).
 |
JDK Installation and Configuration Step 3 |
Now : Go to bin directory (folder) of JDK.
 |
JDK Installation and Configuration Step 3-1 |
Step 4 :
Go to control panel and run System.
 |
JDK Installation and Configuration Step 4 |
Note : Alternate method is right click My Computer and hit properties..
 |
JDK Installation and Configuration Step 4-1 |
Now : A new window will prompt. Select advance tab and hit environment variables.
How to write Java programs in Notepad
Now You can easily write Java programs in Notepad. To write Java Programs in Notepad the following steps are involved:- Open Notepad
- Write Java code
- Click on "File" menu
- Select "Save as" option
- Then write your filename with .java. For example, your file name is "HelloWorldApp". So you have to write it as "HelloWorldApp.java".
Please Note : File Name with java extension must be enclosed in double quotes.