a Java shell implementation...very basic.