Wednesday, January 18, 2017

Learn Java for Beginner easily ! part 1 : Installing the JDK



The first thing you need to understand about programming languanges is what you write while coding (Write code) is not what the machine (computer) understand. For example, you can't talk to a french guy who don't speak english in english.You will need a translator so that this french guy can understand you

The same things goes for programming languange, if  you write a keyword in java's language that tells the computer to write a text, the computer won't be able to do that except the computer has a translator. This translator is called the Compiler.

Java's compiler is Java Developement Kit (JDK). So if  you want to make java and your computer are understanding each other, go download it here :





Download Java Developement Kit


Click the download button on the left side with the java's logo.The next page will ask you to choose your operating system.Mine is Windows 64 bit, but you guys can use it on any operating system. Before downloading, click the license agreement above and then click the download link on the right side of your operating system's name.





After you guys have finished downloading, then open it and install it as usual.You know... i mean the next next next next button you will get and the terms and policy that you won't read hahaha.
After that, there should be a folder like this in your system.




Next, you should make sure that the windows know where to find your JDK. This is how to do it :
1.Click right and click properties on My Computer/This PC>Advanced system settings>Advanced>Environment Variables





Click new then fill the Variable name with "path" and the variable value with the location where you have installed the JDK just like the picture below.





Click ok then it should be the same with the picture below.


To make sure that the JDK installed successfully, open the CMD (command prompt) then type "javac". If the cmd looks like this :




Then the jdk has been installed succesfully.

Congrats !


No comments:

Post a Comment