Skip to content

Installing

Alexander Herzog edited this page Nov 3, 2022 · 4 revisions

Installing and running Warteschlangensimulator

Java Environment

Warteschlangensimulator is a Java program. This means you will need a Java Runtime Environment to run Warteschlangensimulator. There are two variants of the Java Runtime Environment: The smaller Java Runtime Environment (JRE) and the more comprehensive Java Development Kit (JDK). To be able to use all features of Warteschlangensimulator the JDK is needed. When running Warteschlangensimulator on a JRE using Java code for script execution will not be possible (but all other features will also be available when using a JRE).

Java is open-source. The source code basis for all Java distributions is the OpenJDK project. Ready to use binary installation JDK packages for different operation systems can be obtained from different providers:

While the Oracle version is subject to the an Oracle License Agreement, the other Java distributions are full open-source. There are some different Java VMs: Hotspot (the default VM; offered by Adoptium, Microsoft and Oracle), OpenJ9 (offered by IBM) and GraalVM (by GraalVM). Warteschlangensimulator can be executed by all of these VMs. So you can use the one you prefer. (Hotspot is the fastest one.)

Warteschlangensimulator needs a Java Environment in version 8 or higher. Version prior to 8 can hardly anywhere be found. But if you use and very, very old installation you should check to have version 8 (first released on March 2014) or higher. Java can handle scaling on high DPI displays since version 11. So if you use a monitor with a user-interface scaling >100%, a Java version 11 or higher is recommended. In general "version 8 or higher" does not mean "version 8 is recommended". You can use the most modern Java version with Warteschlangensimulator. Often newer Java version have a better support for newer CPUs etc. So if you are not admin on your system and you have to use Java 8 (from 2014), this is ok. But if you are just going to install a new Java version, you should prefer just the newest available version.

Installing the Java environment

The Windows versions of JDK comes with an installer so installation should be no more than a few "Next" clicks. For other operating systems the system package management should be able to get and install a JDK package.

Installing Warteschlangensimulator

Warteschlangensimulator is available in two binary formats: As a Windows installer (SimulatorSetup.exe) and as an archive file (Simulator.zip). The installer version works like any other Windows installer: It will install the software, create a start menu entry and an uninstaller entry in the Windows settings. The archive version can be used from any operating system. The archive has only to be extracted. It contains a Simulator.exe (to be executed when using Windows) and a Simulator.jar which can be executed under any operating system with a JDK. The archive file version of Warteschlangensimulator is completely portable e.g. it will use a configuration file in its program folder.

When using the Windows installer there are two modes: Installing Warteschlangensimulator in user-mode and installing Warteschlangensimulator in admin-mode. The user-mode does not need admin rights and installations of this type can be automatically updated by the built-in updater. On the other side the admin-mode installation (which obviously requires admin rights) allows to use one installation on all user accounts on the computer.

Running Warteschlangensimulator on a server

Warteschlangensimulator can also be ran on a remote server in command-line mode. Because all model, statistics etc. file are completely system independent, models can be created on a slow Windows desktop computer and the corresponding simulation can be performed on a fast remote Linux server. See the reference page for a list of all command-line parameters.

Clone this wiki locally