Friday, October 10, 2008

Installing java and Setting path

Welcome to the most popular Object Oriented language JAVA. OK lets see how to install java and setting the path. Fisrt download java from the Sun Microsystems site. Then double click the insatallation file and use default settings to install. and now you have succesfully installed Java but you have to set the path inorder to use the java compiler. Go to start menu and right click on "my Computer", select properties from the menu. Go to advanced tab and select "Enviroment Variables" then click on the "Add Path" button. Enter "path" under Name and instalation location of the java software under the path (Default location is "C:\Program files\java\jdk1.6.7\bin")
Then open command window (by typing "cmd" in run window) type "javac" and press enter. It's display a list of commands.. So that's it. You have succesfully installed Java and has set the path. If any issues try Sun Microsystems's help