How To Install Tools For Java on your computer ?

   Here we will learn to install JDK(Java Development Toolkit) and the best IDE's(Integrated Development Enviorment) for java.Also we will Download the Java Documentation(JavaDocs).

Steps to install Java

Step 1) Download and install Java JDK from this link

Step 2)Open the properties of "My Computer" by either right-clicking the icon on the desktop or right-clicking Start > My Computer. When the pop up menu opens, scroll to the bottom and select "Properties".
Step 3)This should open a window named "System Properties". Click on the "Advanced" tab and then click "Environment Variables".

Step 4)Next, another window opens with a lot of confusing sentences and letters. Double-click on the "Path" variable on either of the option boxes. It is recommended to edit the variable in the box "User variables for (your username)".

Step 5)Once the variable is opened, a text box in yet another window appears. Careful not to delete anything in this box. At the end of the text box, add a semi-colon if there is not one already, and add "C:\Program Files\Java\jdk1.6.0\bin" to the text box. This is assuming you did not change the file path of the installation.

*Caution-Be very, very careful when editing the Environmental Variables as this could mess up your PC.

Step 6) In the command prompt enter command javac .
If you see a screen like below. Java is Installed.

Now you are ready to compile and run your programs on command prompt which are written in notepad.

But,now-a-days powerful IDE's are present which take your burden away.They are much better than our traditional notepad because there you do not have to perform all the steps I have mentioned above (The enviorment variables setting thing) , just install the JDK and the IDE you like . IDE's also correct wherever you go wrong . Without NetBeans , Eclipse and JCreator Java would not have gained so much popularity.

Popular IDE's:

     1. Notepad(Shipped with every windows pc)

2 . NetBeans 

Download Link For NetBeans:

3 . Eclipse

Download Link For Eclipse :

  4 . JCreator

Download Link For JCreator :

Online Free Editors:
There are also some free online editors where you dont have to install anything (i.e. JDK,IDE,etc.).
*Note : You just require an internet connection.
Choose any of the below editors :




Java Documentation

                  When I first saw Javadoc, I was amazed. It's great piece of documentation, which tells lot of things about Java API.Javadoc made learning easy, and provide an excellent reference while coding in Java. With advent of IDE, you don't even need to look Javadoc explicitly in browser, but you can get all information in your IDE window itself.

For Java SE 6 and SE 7:

                By downloading the documentation from any of the above links , you will be able to explore Java API's offline.

Voila !! So we have successfully installed all the tools required for running Java Programs on your computer.


How To Install Tools For Java on your computer ? How To Install Tools For Java on your computer ? Reviewed by Unknown on 11:52 Rating: 5

No comments:

Blogger Tips and TricksLatest Tips And TricksBlogger Tricks
Powered by Blogger.