Java REPL is a simple Read-Eval-Print-Loop for Java language.
Building Java REPL requires the gradle.
After cloning the git repository, navigate over to it and run:
$ gradle shadowJar
After this completes, the jar completed with bundled dependencies will be located at build/libs/javarepl-dev.jar
Type the following to run
$ java -jar build/libs/javarepl-dev.jar
Releases are automatically released to . Configure repository and then add Java REPL as dependency:
<dependencies>
<dependency>
<groupId>com.javarepl</groupId>
<artifactId>javarepl</artifactId>
<version>SOME_VERSION</version>
</dependency>
</dependencies>
To run Java REPL you need to install Java Development Kit (JDK). Download it from here and follow install instructions. Once JDK is installed and configured, download latest Java REPL release from GitHub or Bintray then run:
$ java -jar javarepl-SOME_VERSION.jar
If this doesn't work try to run pointing directly to java executable within JDK, like so
$ <PATH_TO_JDK>/bin/java -jar javarepl-SOME_VERSION.jar
Distributed under the Apache 2.0