A Java-based Simulation Platform and Testbed for Evaluating Mathematical Models of Trust and Reputation.
- Install Java SE 14 (https://www.oracle.com/java/technologies/javase-downloads.html)
- Make sure your Java Version is set to Java 14 (check that
$ java -version
shows Java 14.0.2). - Download JavaFX 14.0.2.1 @ https://gluonhq.com/products/javafx/ -> "Latest Release".
- Copy the downloaded openjfx-sdk-14.0.2.1 folder to the
/Library/Java/
folder on your computer. - (Optional) Set a
$ /.bash_profile
variable of PATH_TO_FX to the location of the JavaFX lib folder. - Delete the jrt-fs.jar file from inside of the C:/Program Files/Java/jdk-14.0.2/lib folder
- Run Application using:
java --module-path $PATH TO FX --add-modules javafx.controls,javafx.fxml TrustSim.jar
where $PATH TO FX is the path to the lib folder of the openjfx- sdk-14.0.2.1 folder = e.g. /Library/Java/openjfx-sdk-14.0.2.1/lib/
- Install Java SE 14 (https://www.oracle.com/java/technologies/javase-downloads.html) (additional help @ https://java.tutorials24x7.com/blog/how-to-install-java-14-on-windows)
- Make sure your Java Version is set to Java 14 (check that
$ java -version
shows Java 14.0.2). - Download JavaFX 14.0.2.1 @ https://gluonhq.com/products/javafx/ -> "Latest Release".
- Copy the bin folder contents from the JavaFX download folder into the bin folder of jdk-14.0.2 folder (e.g. at C:\Program Files\Java\jdk-14.0.2\bin)
- Copy the lib folder contents from the JavaFX download folder into the lib folder of jdk-14.0.2 folder (e.g. at C:\Program Files\Java\jdk-14.0.2\lib)
- Delete the jrt-fs.jar file from inside of the C:/Program Files/Java/jdk-14.0.2/lib folder
- Run Application using:
java --module-path "C:\Program Files\Java\jdk-14.0.2\lib" --add-modules javafx.controls,javafx.fxml -jar TrustSim.jar
- Install Docker Desktop: https://www.docker.com/products/docker-desktop
- Download the JanusGraph Docker Configuration Files from:
git clone https://github.com/JanusGraph/janusgraph-docker.git
cd janusgraph-docker
- Run the Docker Setup This will create 3 Docker Containers (jce-janusgraph, jce-elastic, jce-cassandra) in a group called janusgraph-docker-master
docker-compose -f docker-compose-cql-es.yml up
$ docker start jce-janusgraph jce-elastic jce-cassandra // to start
$ docker stop jce-janusgraph jce-elastic jce-cassandra // to stop