Java Jshell
Jshell is introduced as part of Java 9 JDK. It allows you to execute java code snippets, evaluate java statements and expressions. On OpenREPL it runs as a small, single-process jshell, so a session uses far less memory than a stock one. A snippet that needs more than a few tens of megabytes of heap stops with an OutOfMemoryError; the session carries on.
For more information on jshell and its usage, you can check the links below :
For usage and meta-commands please refer java demo on OpenREPL website or type /help in the java-repl terminal. The Run button compiles and runs the file in the editor instead.