- Required Java version - Java 17
- Required Maven version - Apache Maven 3.8.4
Execute the following commands in the terminal
mvn clean install
- Go into the
targetfolder - Execute the following commands in the terminal
java -jar chat-server-1.0-SNAPSHOT-jar-with-dependencies.jar [server name] "[path to the text file containing the configuration of servers]"
eg:java -jar chat-server-1.0-SNAPSHOT-jar-with-dependencies.jar s2 "/home/dilanka_rathnasiri/Documents/chat-server/server_conf.txt"