Setting home path class path and path for java on windows 7

471 views

Published on

Setting home path class path and path for java on windows 7

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
471
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
10
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Setting home path class path and path for java on windows 7

  1. 1. Page 1 Setting Home path, Class path and Path for Java on Windows 7
  2. 2. Page 2 1. Install java 2. After installing java go to c: then you may find a folder named java like below
  3. 3. Page 3 Setting Path for Java: Go to My computer and right click on it and click on properties
  4. 4. Page 4 A window will open and click on Advanced system settings on that window
  5. 5. Page 5 Now system properties window wiil open in that click on Environment Variables
  6. 6. Page 6 Now Environment Variables window will open in that in system variables select path and click on edit
  7. 7. Page 7 Now Edit System Variable window will open and in that set Variable Value to C:Javajdk1.6.0_35bin;C:Javajre6bin;
  8. 8. Page 8 click ok ,ok and ok and close the window.
  9. 9. Page 9 Setting Java Home Path: Right click on My computer -> properties -> Advanced System settings -> Environment Variables In System Variables click on New
  10. 10. Page 10 Set Variable Name to ' JAVA_HOME' and Variable Value to 'C:Javajdk1.6.0_35' click ok , ok and ok and close the window
  11. 11. Page 11 Setting Java Class path: Right click on My computer -> properties -> Advanced System settings -> Environment Variables In System Variables click on New
  12. 12. Page 12 Set Varable Name to 'classpath' and Variable Value to ' C:Javajdk1.6.0_35lib' Click ok , ok and ok and close the window.
  13. 13. Page 13 Setting Home path, Class path and Path for Java on Windows 7 through command prompt. Open command prompt as an Administrator
  14. 14. Page 14
  15. 15. Page 15 Setting Java Home: CLICK ENTER
  16. 16. Page 16 Setting ClassPath: Click enter Setting Path :
  17. 17. Page 17 Click enter

×