Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\>cd Eclipse\Intro-To-Programing\src
- C:\Eclipse\Intro-To-Programing\src>dir
- Volume in drive C is Local disk
- Volume Serial Number is E077-8BF5
- Directory of C:\Eclipse\Intro-To-Programing\src
- 09.05.2014 01:23 <DIR> .
- 09.05.2014 01:23 <DIR> ..
- 09.05.2014 12:25 672 SumTwoNumbers.java
- 1 File(s) 672 bytes
- 2 Dir(s) 13 816 893 440 bytes free
- C:\Eclipse\Intro-To-Programing\src>javac -d C:\Eclipse\Intro-To-Programing\bin S
- umTwoNumbers.java
- C:\Eclipse\Intro-To-Programing\src>cd ..
- C:\Eclipse\Intro-To-Programing>cd bin
- C:\Eclipse\Intro-To-Programing\bin>dir
- Volume in drive C is Local disk
- Volume Serial Number is E077-8BF5
- Directory of C:\Eclipse\Intro-To-Programing\bin
- 09.05.2014 01:25 <DIR> .
- 09.05.2014 01:25 <DIR> ..
- 09.05.2014 01:25 922 SumTwoNumbers.class
- 1 File(s) 922 bytes
- 2 Dir(s) 13 816 852 480 bytes free
- C:\Eclipse\Intro-To-Programing\bin>
- But first You need to add path to javac in to the windows system.
- You may do that by right-click on the “My Computer” icon, then chose Properties.
- Then chose the “Advanced” tab, and then left-click on “???Environment settings” button.
- In the popup window you will see the two divisions. “???In System variable” division,
- find path variable and mark it and then chose the edit button or just double click it.
- In field “???variable value” after the last text enter the path to your javac.exe file.
- For example you have the following text:
- “C:\PROGRAM FILES\DISKEEPER CORPORATION\DISKEEPER\;
- C:\PROGRAM FILES\COMMON FILES\LENOVO;C:\PROGRAM FILES\LENOVO\CLIENT SECURITY SOLUTION;
- C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;
- C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Windows Imaging\”
- And you are running JDK6 and it is installed in C:\Program Files,
- you have to add: “;C:\Program Files\Java\jdk1.6.0_45\bin”
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement