None
We do not require a certain operating system or prepared environment. For downloading this demo, we recommend Git (installing Git is explained in this article). The setup is tested on Windows 10, WSL2, Manjaro, and NixOS.
Executing the demo consists of two steps: building the project and running the demo. Each step has its own software requirements.
This demo can be built either manually or using Docker or using Nix. You may choose one of these setups. If you intend to use this project to develop your own library or application based on DiffDetective, we recommend the manual build.
This demo is a Maven project based on Java 17.
To build the demo, a Java development toolkit of version 17 or higher, and Maven are required.
The demo has few dependencies, most of which will be handled automatically by Maven. The dependencies are documented in the Maven build file (pom.xml). The only dependency that must be installed manually is our tool and library DiffDetective, which is also a Java Maven project. Installing DiffDetective follows the default maven workflow and is explained on the DiffDetective website and README.
How to install Docker depends on your operating system:
- Windows or Mac: You can find download and installation instructions here.
- Linux Distributions: How to install Docker on your system, depends on your distribution. The chances are high that Docker is part of your distributions package database. Docker's documentation contains instructions for common distributions.
How to install Nix, also depends on your operating system.
Head to the NixOS website and follow the installation instructions for your system.
Follow the download instructions for Nix: the package manager
, not NixOS: the Linux distribution
!
Note that Nix is not available for Windows. Instead, you can use Nix from within Windows Subsystem for Linux (WSL2). However, we do not recommend using Nix on Windows, except if you are already familiar with WSL2, Nix, and XServers. We recommend using Docker or a manual setup instead. Running the Demo from within WSL2 requires an XServer. We recommend VcXsrv.
To run the demo, a Java development toolkit of version 17 or higher is required.
As an optional dependency, running the demo uses graphviz. You may find installation instructions for graphviz here. You may run the demo without graphviz, in which case the demo will print an error to the terminal and DiffDetective cannot compute a layout for visualizing graphs. In this case, the GUI may appear differently as in the screencast (see Expected Output section in INSTALL.md).
We also provide a nix and docker setup for running the demo, too. However, these setups are fragile because the demo launches a graphical user interface which may cause errors. Hence, you can also run the demo without installing Java or graphviz. We hence recommend to run the demo manually with Java.