I am looking for an interactive shell in which I can insert a Java application for use in debugging and scripting. I'm not terribly interested in writing Java scripts, so a more shell-like syntax would be great, but I would like to be able to load and run "external commands" on the fly (these would be Java.class files).
Unfortunately, my platform is very limited in space - double-digit megabytes of heap. As languages ββlike Groovy, Jython and JRuby are unsuitable.
I found BeanShell that looks good, but it looks like it has been dead for years, and the syntax is rather cumbersome to use on the command line - for example. it would be nice to have things like "help" typing an error message rather than silence.
Are there any other systems I should look at?
Edit: ... aaaaand I just discovered that BeanShell2 requires reflection capabilities that my platform does not have, and even RetroWeaver cannot help me with this. I will try BeanShell 1, but I'm not sure.
source share