How set path in java cmd

Learn Java Programming for Beginners

Watch video of how to set path in java cmd  in windows 7 64 bit permanently using cmd

how to set path in java in windows 7 64 bit permanently using cmd?

1.Go to Start right click on My computer and select properties
2.select advance tab in System properties

3.click on Environment variables

4. In system variables click on new
type variable name as path or PATH
variable value as C:\Program Files\Java\jdk1.6.0\bin(location of bin folder)
click on ok

5. In system variables click on new
type variable name as class or CLASS
variable value as C:\Program Files\Java\jdk1.6.0\lib(location of bin folder)
click on ok

6. Go to Start click on Run type cmd in run window

7.type javac in cmd

if it shows like image above java configuration completed.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *