How to run Stanford Karel? [message #776134] |
Sat, 07 January 2012 10:41  |
Eclipse User |
|
|
|
I have started taking the course Programming methodology(CS106A) available at stanford website. But I am not able to start the Stanford Karel in it.
I am using eclipse indigo classic 3.7.1 and Windows 7 64 bit OS..
I wrote the following code:
import stanford.karel.*;
public class CollectNewspaperKarel extends SuperKarel {
// You fill in this part
public void run(){
move();
move();
}
}
It gives the error
Exception in thread "main" java.lang.NullPointerException
at acm.program.Program.main(Program.java:917)
at stanford.karel.Karel.main(Karel.java:202)
Then I set the various options required to be set in the Run configuration and the error was removed but now I am getting a blank screen at the output!!!
The assignment1 of stanford has been attached..
|
|
|
|
Powered by
FUDForum. Page generated in 0.04070 seconds