Installing Java for beginners
A Little intro to java language
It is a programming language developed for use in the distributed environment of the internet.It was designed to have the look and feel for the c++ language but it have more features than c++ have and more easy to learn and development environment.it enforces an Object oriented Programming.
What you Need To Start Java
- You need a PC of course.
- An interface to write java program.
- Notepad is one of the easily available editor in which you can write program.
- Eclipse and Netbeans are also popular editors.
- you can download either of them from the Internet as they are free and open source.
And finally you need a java development Kit (any version) to run your program. You have to set the environment variables as well.
Installing the Java on Windows 7
First Download Java Development Kit:
Note: this installation guide is for windows 7 users:
- Type--- " Download JDK7 " in google search bar.
- Follow the right link or Goto the Following link given below.
Accept the license Agreement On the Page And Download apropriate JDK for Windows.
Please carefully chooose the installation type like " For windows 7 (32 bit or 64 Bit version)
Installing the Java Editor
Here We Follow Eclipse in this Tutorial But you can download any editor like Netbeans.
1) First Install Editor---> Eclipse.
2) Search the Google or Follow this link -->Download Eclipse Here
3) Choose eclipse Editor For Java Developers or Enterprise Edition or Standard Edition whatever You Want.
4) You should be careful in choosing Eclipse that it should be compatible with your window I.e : if your system is 32 bit then you should go with eclipse that is for 32 bit windows and so on. To check out your system (32 or 64 bit ) go to [my computer --> properties --> system type.
5) Then download accordingly (x86 for 32bit etc).
Finally Setting The Environment Variables:
There are two Methods of Setting Your Environment variables Either
1) Programatically using CMD OR
2) manually Using control Panel
Here we are going to do this manually because when i was learning this i found manually more easy for me. So friends here you can follow Some Simple Steps:
1) Go to computer --> properties -->Advance system setting.
2) A pop up will appear-->click on environment variables. Another pop up will appear-->select path from user variables if it exists -->edit it else--> create new.
3) Type the name of the variables -->& paste address of bin in variable value like c:\program files\java\jdk7.1.0_60\bin. Etc
4) Click OK -->start using Eclipse. :) :)