Possible Duplicate:
Java REPL shell
Hey,
Is there any way to execute Java code (as you type) on a command line?
For instance, something like this
(command line)
java
import ARDrone;
ARDrone drone = new ARDrone(null, null, null);
drone.takeoff();
(so that you can enter lines of code in the command line)