Third System Simulations project: Brownian Motion
These instructions will install the system in your local machine.
-
Clone the repository, or download source code
$ git clone https://github.com/juanmbellini/brownian-motionor
$ wget https://github.com/juanmbellini/brownian-motion/archive/master.zip -
Install Maven, if you haven't yet
$ brew install maven$ sudo apt-get install mavenCheck Maven website.
-
Change working directory to project root (i.e where pom.xml is located):
$ cd <project-root> -
Let maven resolve dependencies:
$ mvn dependency:resolve -U -
Create jar file
$ mvn clean packageNote: The jar file will be under
<project-root>/target
You can run the simulation with the following command:
$ java -jar <path-to-jar> [arguments]