Install JDK(Java Development Kit)
1.Java Development Kit(JDK) allows you to code and run Java programs. It's possible that you install multiple JDK versions on the same PC. But Its recommended that you install only latest version.
- Step 1: Click on download
Download JDK
- Step 2: Once the download is complete, run the .exe file to install JDK.
- Step 3: Once installation is complete click Close
2.Setting up path for windows:
- Step 1: Right click on my computer and select properties.
- Step 2: Go to the Advance System Settings tab.
- Step 3: Click on Environment Variables button.
- Step 4: Now alter the path variable so that it also contains the path to JDK installed directory. For ex: C:\Program Files\Java\jdk-11.0.1\bin
- Step 5: Finally, we have to check if java is installed properly or not. We can do that by using java -version command using command prompt, if it display java version then java is successfully installed on your machine.
No comments:
Post a Comment