Arnaud Vergnet ada6167c25 Lock server port between 1024 and 64000 | 3 years ago | |
---|---|---|
.idea | 3 years ago | |
client | 3 years ago | |
conception | 3 years ago | |
gradle/wrapper | 3 years ago | |
lib | 3 years ago | |
server | 3 years ago | |
.gitignore | 3 years ago | |
NOTES.md | 3 years ago | |
README.md | 3 years ago | |
gradlew | 3 years ago | |
gradlew.bat | 3 years ago | |
settings.gradle | 3 years ago |
This project contains the source for the 4IR Java project.
Run this command
sudo apt install openjdk-11-jdk
Follow this link to download and install it, then this link to set up Intellij
Run this command
./gradlew runShadow
Or in Intellij, open the gradle window and click on clavardator -> Tasks -> application -> runShadow
.
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.
You can run a jar file with this command:
java -jar <JAR-NAME>.jar