Skip to content

Instantly share code, notes, and snippets.

@jmartin-sul
Last active April 26, 2018 21:31
Show Gist options
  • Save jmartin-sul/fef0892943cab614719b9052a51c899c to your computer and use it in GitHub Desktop.
Save jmartin-sul/fef0892943cab614719b9052a51c899c to your computer and use it in GitHub Desktop.
how to get a REPL for a Java project
Java 9 includes a native REPL now!
https://en.wikipedia.org/wiki/JShell
what if i'm stuck on an older version of java?
you might try the JavaREPL plugin: https://github.com/jburwell/gradle-javarepl-plugin
a web based REPL: http://www.javarepl.com/term.html
the advantage of a non-web REPL being that you can play around with your own local code, which is often what you want a REPL for.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment