Run a non-GUI Java program online
===

I have a Java program that runs from command prompt / blueJ's terminal window fine.

Is there a way that I can run this from a browser?

I guess my question is, is there anything that simulates the terminal window in a browser?

If not, do you have a suggestion as to how to put this online?  It uses scanner / system.out.println a lot.  

Thank you