csep-2025/client
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Mei Chang van der Werff b0272fd276 Merge branch 'removeExampleCode' into 'main'
Removed all left over example code

Closes #27

See merge request cse1105/2025-2026/teams/csep-team-76!28
2025-12-19 00:48:19 +01:00
..
src Merge branch 'removeExampleCode' into 'main' 2025-12-19 00:48:19 +01:00
pom.xml Created utils for websockets. 2025-12-17 16:26:27 +01:00
README.md Initial commit 2025-11-13 22:26:09 +01:00

Assuming that you have Maven installed, you can run the project out-of-the-box from your terminal via

mvn -pl client -am javafx:run

from your project root (not from within the client folder!).

Starting the client within your IDE (Eclipse/IntelliJ) requires setting up OpenJFX.

First download (and unzip!) an OpenJFX SDK. Make sure that the download matches your Java JDK version.

Then create a run configuration for the Main class and add the following VM commands (which, in IntelliJ, are hidden by default):

--module-path="/path/to/javafx-sdk/lib"
--add-modules=javafx.controls,javafx.fxml,javafx.web

Adjust the module path to your local download location and make sure you adapt the path to the lib(!) directory (not just the directory that you unzipped)...

Tip: Windows paths are different, they uses \ as path separator and starts with a drive letter like C:.

Tip: Make sure not to forget the /lib at the end of the path.

Tip: Double-check that the path is correct. If you receive abstract errors, like Module javafx.web not found or a segmentation fault, you are likely not pointing to the right folder. Try opening the folder and check that it contains several .jar files, such as javafx.controls.jar.