Downloading and Installing JDK and Netbeans
Downloading and Installing JDK and Netbeans
Objectives
• Download and install JDK
• Download and install Netbeans
Step 2: once the download is completed, click on the exe file, a message window will pop-up asking for
your permission to allow the application to make changes on your device, you should click on YES as in
figure 2.
Figure 2: Click on Yes to give permission for the installer to setup Java on your device
Step 3: The Java SE installer should start the installation process. So click on Next button as in figure 3
Step 4: The next message window describes where the Java will be placed in your device -it’s the default
location and its better NOT to change it- as in figure 4.
Step 5: Figure 5 describes the installation process; you have to wait until this process is complete as in
figure 6
Figure 7: Search for edit the system environment variables on your Windows OS
Step 2: Click on Environment Variables button that is in System Properties as in figure 8. Note, your
system might open another window like the one in figure 9, if that is the case then move to step 4
Step 3: Click on the Path then click on the Edit button as in figure 9
Step 4: Now, you will need to add the Path to your JDK folder on your system as in figure 10
Figure 10: Adding the path to the JDK folder
Step 5: Go to the location where Java was installed as we mentioned previously during the installation
process which is similar to C:\Program Files\Java\jdk-17.0.1\ as in figure 11. Then, navigate inside the
bin folder as in figure 12 and copy the path by clicking on it
Figure 13: Paste the path on a new row and then click OK
Step 7: to set the Java home environment variables under the User Variables click on New button and
then twrite/ype in JAVA_HOME on the Variable name text box and for the value you should paste the
path of the JDK without the bin as in figure 14 then click on OK and on the following window, you may
click on OK button once again
Figure 14: Click on New button that is underneath the User Variable and fill in the information
Step 8: Go to Command Prompt by typing cmd on the search box, then open it. Type java -version
command. Note that if you setup everything right you should see an output similar to the one in figure
15.
Step 2: browse through the binaries and select the one for your device as in figure 17
Figure 17: Select the binary for your device
Step 4: Once the download is completed, a window will pop-up to ask for your permission to allow the
application to make changes, click on YES button then the installer will start downloading Netbeans on
your computer.
Step 5: Do not change anything on the following window. Leave it as its and click Next
Step 6: Accept the agreement by checking the box and then click on Next
Step 7: The following window should show you the path to the JDK. DO NOT change anything, just click
Next
Step 9: wait until the installation process is completed then click on the finish button
Step 10: If the welcoming window did not show up, then go to the Desktop and click on the Apache
Resources: