How to Install Java JDK on Windows 10/8/7 + Set Java Path + Run Java program on Windows using cmd

Publié le: 29 August 2017
sur la chaîne: codedost
357
5

In this video or tutorial we will be showing you how to install java jdk on windows, set Java path and run java program on windows 7/8/10 using command prompt(cmd).

Detailed steps and links are provided on my website as well in the description given below.

To see all steps visit the links and description given below:-
Visit : -
https://codedost.com/java/

Links needed : -
https://www.oracle.com/technetwork/ja...

Step by Step Guide to install and set up java path and run java program

Step 1
- Open your Browser and type in java download
- Click on Java SE Downloads
- Click on "Java Platform JDK 8u144"
- Accept License and agreement
- If you have a Windows 64 bit machine click on "Windows x64 197.78 MB jdk-8u144-windows-x64.exe"
- If you have a Windows 32 bit machine click on "Windows x86 190.94 MB jdk-8u144-windows-i586.exe"
- Else click on which Operating System OS you use
- Install the software keep clicking on next

Step 2
- After successful installation Goto program files
- Goto Java
- Goto jdk1.8.0_144
- Goto bin
- Copy the address of bin it should somewhat look like this
- C:\Program Files\Java\jdk1.8.0_144\bin

Step 3
- Open Control Panel
- Goto System
- Advance System Settings
- Environment Variables
- User Variables
- New
- Type in variable name as "PATH"
- Paste this address it might be a bit different based on the version you download
- C:\Program Files\Java\jdk1.8.0_144\bin
- Press Ok!

Step 4 //Checking if jdk path & installation is done properly
- Goto to Command Prompt i.e cmd to verify whether Java has been successfully downloaded or not
- Type in the command java
- Type in the command javac
- If everything is working fine you will get some data on the terminal with these two commands /*Means java path & installation is done properly*/

Step 5
- Run your first java program
- Open notepad or equivalent editor
- Type in a java program
- Save as filename.java
- Go to cmd and go to the directory where you have saved it
- Compilation Command :- javac filename.java
- Run Command :- java filename


Sur cette page du site, vous pouvez voir la vidéo en ligne How to Install Java JDK on Windows 10/8/7 + Set Java Path + Run Java program on Windows using cmd durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur codedost 29 August 2017, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 357 fois et il a aimé 5 téléspectateurs. Bon visionnage!