I'd like to find out whether I should plan on using the DrJava plugin for Eclipse when I teach CS1 at Suffolk University this fall using Mark Guzdial's MeadiaComp/Java book.
In particular, I have run into problems with the Interaction pane on two different platforms.
My students will be using (Ubuntu) Linux workstations for much of their lab work and miscellaneous laptops (probably Windows) for their homework.
I tried using the plugin on my own kubuntu linux box:
Eclipse Galileo SDK
Version: 3.5.2
Build id: M20100211-1343
Plugin jar file:
edu.rice.cs.drjava_0.9.9.20090115-r4708.jar
Here are some typical lines from my recent attempts at interactions:
Welcome to DrJava. Working directory is /home/ezust
> System.out.println(3 * 28);
> System.out.println(3 * 28)
> System.out.print(3 * 28)
> System.out.print(3 * 28);
> String s = "qweqwe"
> s
"qweqwe"
> System.out.print(s)
> System.out.print(s);
> s
"qweqwe"
>
I'll be lecturing using my macbook (Mac OS X 10.6.4).
I installed Eclipse Helios Release (build 20100617-1415) on it
and tried the same plugin jar file.
The Interaction pane evaluated simple arithmetic expressions with no problems.
But when I typed "System.out.println(3 * 4);" into the interaction pane, I got a message box from DrJava that said:
"An error occurred in DrJava.
edu.rice.cs.util.UnexpectedException:java.lang.NoSuch!.
You may wish to save all your work and restart DrJava."
When I clicked the OK button Eclipse was immediately terminated.
Am I doing something wrong - or have I left out a step somewhere?