Hi friends hope you all are fine shine today I'm going to teach how to install JDK(Java development kit) in Windows to start our java language tutorials, So in today's tutorial, I'm going to install JDK step by step and after that run program using cmd first compile then run our first code ok let's start.
So I'm using windows 10 and need JDK for windows there are a different version for different platforms like Linux and IOS. For Downloading JDK Follow my steps.
- Go to http://www.oracle.com/technetwork/java/javase/downloads/index.html Web page and select your oprating system file i and downloading Java 8 JDK sandrad edition
- Now select your Operting system In my case 86x 32bit Windows
- Select Agree button then click downloading button.
- Now install JDK Simple
- Now Installtion is done open CMD and type java
- That means your java is completely installed now set path using cmd goto to C: Drive and goto JAVA folder and Bin and now copy location.
- Now type in search box Enviroment
-Now click on Enviroment variable
- Now click on path and Edit
- Now edit path asn add ; semi colon and then paste addres thaht copy from java bin folder
- It's done now java complier ready to go now start notepaid write code and save in java extension .java
- Now open cmd and type JAVA C File name HelloWorld.java
- Now type Java and then file name Helloworld and out will b disply by VRE
Thank you for reading Hope you like it :)
Posted on Utopian.io - Rewarding Open Source Contributors