Running from a Command Shell (macOS: Terminal, Windows: Cmd.exe)
Checkout the finmath-experiments project from its Git repository and run it via Maven
This assumes that you have Git installed on your machine.
Open a command shell
Type mkdir git (to create a folder git, if you do not have one)
Type cd git (to enter your git folder)
Next, clone (i.e. download) the repository (git), change to the cloned directory (cd) and start jshell via Maven (mvn) by typing the following three commands:
Terminal Window
git clone https://github.com/finmath/finmath-experiments
cd finmath-experiments
mvnw
Note: If mvnw fails, try ./mvnw on Linux, macOS or .\mvnw on Windows. Alternatively, if you Maven installed run mvn.
Running from a Eclipse
You may also directly run the JShell experiments from Ecplise. To do so:
Install Eclipse (2020-3 or better) from eclipse.org.
In Eclipse, checkout finmath-experiments from GitHub.
Right-click on the finmath-experiments projects and select
Run As → Maven build.
Note: The Maven build had to be run with Java 11 or better.
If this is not already your default setup, there are two possibilities here:
In the Run As Maven build dialog select the tab JRE,
then check "Execution environment" and select Java 11 or better.
Ensure that your default workspace JDK is Java 11 or better.
Go to Eclipse Preferences and go to Java → Installed JREs...
Select the checkbox for a JRE being Java 11 or better.