I have added an extension to the VM that calls the eval method then pops (prints) the returned string. But, it prints on the System.out stream instead of my output stream.
Does the eval method change the output stream? And why.
Btw Vijay, I think your java code is very elegant :-)