After building the project using ./main.sh -m build we should be able to run the Gamification Framework in a single node using ./main.sh -r start_one_node.
This is working as expected on macOS. However, on Windows the script is failing with the following output:
$ ./main.sh -r start_one_node
[Run]
[Start One Node]
Fehler: Hauptklasse i5.las2peer.tools.L2pNodeLauncher konnte nicht gefunden oder geladen werden
Ursache: java.lang.ClassNotFoundException: i5.las2peer.tools.L2pNodeLauncher
We tracked the error down to the GamificationGameService/start_network_in_a_node.sh file, which is called by main.sh. There is likely an error with the classpath argument of the java command, which causes the classes not being loaded.
Other las2peer services have different launcher scripts for macOS/Linux and Windows, so we should also add a start_network_in_a_node.bat here and call it from the main.sh if the OS is Windows.
After building the project using
./main.sh -m build
we should be able to run the Gamification Framework in a single node using./main.sh -r start_one_node
.This is working as expected on macOS. However, on Windows the script is failing with the following output:
We tracked the error down to the
GamificationGameService/start_network_in_a_node.sh
file, which is called bymain.sh
. There is likely an error with the classpath argument of thejava
command, which causes the classes not being loaded.Other las2peer services have different launcher scripts for macOS/Linux and Windows, so we should also add a
start_network_in_a_node.bat
here and call it from themain.sh
if the OS is Windows.