Setting up JAVA Part -2
Be ready to install JDK in your PC's .
1) Double-click on the install file and it should open an installer 3) On the next screen you will encounter some options. Just leave these alone and click next unless you know what you are doing. (Because this is being read it is assumed that you do not.)
4) The next page you encounter should install (and in some cases download) the Java Development Kit.
5) After the installer is finished, open run by clicking Start > Run... or by typing Windows Key + R.
6)In the text box, type "cmd" and click "OK".
7)A simple window called "Command Prompt " should be opened with a black background and a text prompt.
8)After focusing the window, type "javac" and press enter. If the prompt returns something along the lines of: "'javac' is not recognized as an internal or external command, operable program or batch file" then continue with the next step.
9) 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".
10) This should open a window named "System Properties". Click on the "Advanced" tab and then click "Environment Variables".
11) Now choose path in System Properties and click on edit .After clicking new pop window will open .
So then as u can see u will have to set path as ";C:\Program Files\Java\jdk1.6.0\bin;" and click " ok " .So now you have set the Jdk path globally .
12) Now check wether JDK is installed or not .Just open your "CMD " and type "javac" if Jdk is installed then you will get this result .




No comments:
Post a Comment