Skip to main content

Setting up Java

If you don't have a 1.7 or greater Java Platform, Standard Edition SDK (Software Development Kit), you need it. The SDK includes everything you need to compile and run a java program.

Follow the steps below and start programming in Java.
Step 1 : Go to http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html. Here you will find numerous links out of which you will have to choose the one that suites your hardware configuration.

Step 2 : Select the radio button saying "Accept Licence Agreement" and click on the suitable link.

Step 3 : Save the zip file at a desired location in your computer.

Step 4 : Unzip the folder and double click on the executable file that has been downloaded and click on "Run".

Step 5 : Click on "Next". Customization is not allowed, Simply leave the default selection of Development Tools.(Requires 400MB of Disc Space). You can change the location from default installation directory to desired folder.

Step 6 : Click on "Next". If you wish to change the location of JRE... Move on! and Click "OK".

Step 7 : Click on "Next". At the end of installation process, Click on "Continue".

Step 8 : You may need to go through a process similar to above for downloading SDK, clicking on "Close" at the end.

Step 9 : Modify your system's Path Environment Variable so that it references the bin folder fo the above installation.
This is very important!
In case  you are unsure how to modiffy the path variable, the steps for the same are given below.
Step 1 : From the start menu at the bottom left of the screen, Select
set path of jdk

Step 2 : Scroll to the path system variable and select the current contents of this variable by clicking on them.

Step 3 : Click on "Edit". Press the keyboard Home button (Ensure Numlock is not ON) and insert the full path to Java's bin folder at the start of current contents. Make sure that you remeber to place a semicolon at the end of this new entry, in order to separate it from the next item.

Step 4 : Click OK three times to finish off!

Here we finish off with Setting up Java. How and where do we write, compile and execute java programs? You need a Text Editor or an IDE.
I would personally recommend Eclipse IDE. It is easier to handle and has one time quick setting to be done.



click here...

Comments