Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » How to run Stanford Karel?
How to run Stanford Karel? [message #776134] Sat, 07 January 2012 10:41 Go to next message
Bhuwan Sahni is currently offline Bhuwan Sahni
Messages: 1
Registered: January 2012
Junior Member
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(){
It gives the error

Exception in thread "main" java.lang.NullPointerException
at acm.program.Program.main(
at stanford.karel.Karel.main(

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..
Re: How to run Stanford Karel? [message #974773 is a reply to message #776134] Wed, 07 November 2012 05:08 Go to previous message
wattanasak supmaungpun is currently offline wattanasak supmaungpun
Messages: 1
Registered: November 2012
Junior Member
wait (x)=arguments code= .class public class
Previous Topic:Creating A New Eclipse Project Using An Existing JAR File
Next Topic:How do I move a GWT workspace (Its not Android Its GWT)
Goto Forum:

Current Time: Tue Sep 02 15:06:20 EDT 2014

Powered by FUDForum. Page generated in 0.13432 seconds