If you are trying to run a job directly from eclipse then you need to first export your project as a runnable jar. You can place this jar at any location in your machine. You just need to specify the location of the jar in your main method of driver class as below:
conf.set("mapred.jar","D:\mapred_example.jar");
Hope this helps!