Saturday 21 March 2015

Getting your machine/system or PC java-ready:

Various newbies face a typical problem this days, they when start coding face some difficulties in setting up JAVA in windows.
I will help you out with a simple and easy method of installing java.
Step 1: Get the JDK or the Java Development Kit (wiki here) from JAVA oracle site (download here).
Step 2: Run the setup. Do not change the directory of installation unless you are really out of space in C drive.
Step 3:Just open another windows explorer. Open C drive or wherever you installed JDK, browse to the bin folder. Right click on the address bar, select "copy link as text". For example : C:\JAVA\bin or C:\Program Files (x86)\JAVA\bin (most general cases).
Step 4: After that, open System Properties ( Right Click on My computer\This PC Icon on desktop => click on properties=>advanced system settings=>environment variables)
Step 5: Now just go to the system variables section and look for PATH. You will find a edit button. click it!!
Step 5: Now Paste the link you got in step 3.
click OK to save it.
Step 6: Now Open Command Prompt or "cmd".
type javac
 u will get this which confirms successful setup of JAVA Development Kit.


Happy Coding!!!!


If you face any problems drop me a mail at koustuvdutta@gmail.com.

No comments:

Post a Comment