clavardator/README.md
2021-01-31 22:52:14 +01:00

1.6 KiB

Clavardator

This project contains the source for the 4IR Java project.

Full report available here.

Group

  • SIMARD Yohan
  • VERGNET Arnaud

Technologies

  • Java 11.0.9 (openjdk)
  • JavaFX 11.0.2 (openfx)
  • Gradle 6.3

Installation

Install Java 11

Run this command

sudo apt install openjdk-11-jdk

Optional: Install JavaFX Scene Builder 11

Follow this link to download and install it, then this link to set up Intellij

Build and Run

Run this command

./gradlew runShadow

Or in Intellij, open the gradle window and click on clavardator -> Tasks -> application -> runShadow.

Generate cross-platform jar

Run this command

./gradlew build

This will generate a jar file under client/build/libs/client-{VERSION}-all.jar.

You can then copy this file and place it on any Linux/Windows/Mac environment with at least Java 11 installed.

Running a JAR file

You can run a jar file with this command:

java -jar <JAR-NAME>.jar

Resources