Advertisement
Guest User

Homework

a guest
May 10th, 2014
389
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.01 KB | None | 0 0
  1.  
  2. C:\>cd Eclipse\Intro-To-Programing\src
  3.  
  4. C:\Eclipse\Intro-To-Programing\src>dir
  5. Volume in drive C is Local disk
  6. Volume Serial Number is E077-8BF5
  7.  
  8. Directory of C:\Eclipse\Intro-To-Programing\src
  9.  
  10. 09.05.2014 01:23 <DIR> .
  11. 09.05.2014 01:23 <DIR> ..
  12. 09.05.2014 12:25 672 SumTwoNumbers.java
  13. 1 File(s) 672 bytes
  14. 2 Dir(s) 13 816 893 440 bytes free
  15.  
  16. C:\Eclipse\Intro-To-Programing\src>javac -d C:\Eclipse\Intro-To-Programing\bin S
  17. umTwoNumbers.java
  18.  
  19. C:\Eclipse\Intro-To-Programing\src>cd ..
  20.  
  21. C:\Eclipse\Intro-To-Programing>cd bin
  22.  
  23. C:\Eclipse\Intro-To-Programing\bin>dir
  24. Volume in drive C is Local disk
  25. Volume Serial Number is E077-8BF5
  26.  
  27. Directory of C:\Eclipse\Intro-To-Programing\bin
  28.  
  29. 09.05.2014 01:25 <DIR> .
  30. 09.05.2014 01:25 <DIR> ..
  31. 09.05.2014 01:25 922 SumTwoNumbers.class
  32. 1 File(s) 922 bytes
  33. 2 Dir(s) 13 816 852 480 bytes free
  34.  
  35. C:\Eclipse\Intro-To-Programing\bin>
  36.  
  37. But first You need to add path to javac in to the windows system.
  38. You may do that by right-click on the “My Computer” icon, then chose Properties.
  39. Then chose the “Advanced” tab, and then left-click on “???Environment settings” button.
  40. In the popup window you will see the two divisions. “???In System variable” division,
  41. find path variable and mark it and then chose the edit button or just double click it.
  42. In field “???variable value” after the last text enter the path to your javac.exe file.
  43. For example you have the following text:
  44. “C:\PROGRAM FILES\DISKEEPER CORPORATION\DISKEEPER\;
  45. C:\PROGRAM FILES\COMMON FILES\LENOVO;C:\PROGRAM FILES\LENOVO\CLIENT SECURITY SOLUTION;
  46. C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;
  47. C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Windows Imaging\”
  48.  
  49. And you are running JDK6 and it is installed in C:\Program Files,
  50. you have to add: “;C:\Program Files\Java\jdk1.6.0_45\bin”
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement