I am taking Stanford's free online course in introductory programming (they also have more advanced courses for those interested).
I am trying to run a java program through eclipse. The program is called StoneMasonKarel, which is a subclass of SuperKarel, a class where a robot moves around and does stuff. My version of eclipse seems to be slightly different than the one they are using, since I could not download their Mac or Windows version on their site. They say to simply click on an icon to run the program. I have to click 'Run As....' and then choose a configuration.
I chose Java Application (out of the choices of Eclipse Application, Equinox OSGi Frame, Java Applet, and JUnit, and SWT Application). It was the only one that seemed to do anything. For the configuration I chose StoneMasonKarel as the main class.
When I run it like this the little robot and his world pop up, but the application automatically freezes. I have tried with a couple really simple subclasses and the same thing happens. Could there be something wrong with my set up? Do you need any more info?
The library and worlds - the skeleton of the program - is pre-programmed by Stanford. Thanks.