As part of my weekend reading I just discovered that an official REPL is planned for Java 9!

It’s spec’d in JEP 222, and there’s a very neat demo by Alex Zhitnitsky:

Even better, there’s even a docker image for testing it. Just run

$ docker run -it ensignprojects/javarepl

And before long you’ll be staring at the new jshell REPL!