Is there a good interactive interpreter for Java, similar to Scala’s? When programming, I like to try small pieces of code to see if they work like I expect before plugging them in to my main program. I would prefer an interpreter that is not based online since I often work offline.
Thanks in advance!
In the past I used beanshell. It was really light and got the job done. http://www.beanshell.org/