Skip to main content

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 15:41 Go to next message
Bhuwan Sahni is currently offline Bhuwan SahniFriend
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 10:08 Go to previous message
wattanasak supmaungpun is currently offline wattanasak supmaungpunFriend
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: Thu Dec 03 20:26:07 GMT 2020

Powered by FUDForum. Page generated in 0.01839 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top