Well, Since lots of you Seem to be using long paths and complicated Tutorials, I though i'd remind you of what should have been a first step when Starting Java and JDK. (This only works for windows?)
First, Go to Control Panel, Then system, Then Click Advanced Tab. Look to the Bottom and Find Environment Variables. In there should be one callled 'path' It might look like this:
Code:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;
Add the Location of Your JDK/Bin Folder, so It will loook like
Code:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Java\jdk1.6.0_01\bin
Now, you can use things like Javac without a path, So the Best compiler source is now
The end