29 September, 2013

HOW TO PATH SET IN JAVA SOFTWARE

After install the java software  following this steps:
step 1:
           select "my computer" icon and right click mouse button.
            now click on "properties" option.it provides a window.click "advanced" tab and click
"environmental variables" window.

now select the path in system variables and click"edit" button.the "edit system variables" window will open.
add "c:\program files\java\jdk1.7.0_05\bin" to 'variable value' and click 'ok','ok' and 'ok' buttons.
now set the class path variable and set its values to "c:\program files\java\jdk 1.7.0-05\lib\tools.jar"
and "c:\program files\java\jdk 1.7.0-05\jre\lib\rt.jar". if this variable has not been declared eariler then create a new system variable by clicking on "new" button and give variable name as "classpath" and variable value
as "c:\program files\java\jdk 1.7.0-05\lib\tools.jar;c:\program files\java\jdk 1.7.0-05\jre\lib\rt.jar;.;"
now click "ok".this variable is used to complie java programs

AND restart your computer
          

No comments:

Post a Comment