Monday, February 22, 2016

Step to Set Path For Java Program In Windows

*************** Step to Set Path For Java Program In Windows ****************************

Step 1 : Before we have to set path from your computer, check whether path is already set or not. Open Command Prompt and type javac and java. We have to occur any error then not set a path.

Step 2 : Download and Install jdk from oracle site.

Step 3 : Go to My Computer and Open Folder " C:\Program Files\Java\jdk1.7.0_10\bin " and copy that path.







Step 4 : We have to Right click on MyComputer->properties->Advance System Security-> Environment Variable->New. We have to set application variable path, variable name and variable value is paste a copy in that text box and press OK.










Step 5 : We have also set System Path, select path variable in that below list and edit that variable. Do not delete all path in that variable. We have to edit that press semicolon and close previous path and paste your java path. click Ok.

Step 6 : We have to check path set successfully or not. open in command prompt and type javac and java.


Another way is to open Advance System Setting is

Control panel->System->Advance System Setting->Environment Variable.





/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

No comments:

Post a Comment

SYBSc (CS) Sem III : Data Structure Slip 20 Que - 2

    SAVITIBAI PHULE UNIVERSITY OF PUNE S. Y. B.Sc. (Computer Science) Semester III Practical Examination       SUBJECT: CS-233 Practical cou...