Possible Duplicate:
Java REPL shell
Is there a project that makes a command prompt that can execute Java statements? Why not? I'm looking for something like the builtin shell of Python but for Java.
I see there is http://www.beanshell.org/ but that project does not seem very active. But it appears to be what I'm looking for. Are there any other projects like this?
I want to be able to do something like this
$ import org.foobar.Bletch
$ new Bletch();
or similar. Has anyone done this?