Skip to content

Latest commit

 

History

History
51 lines (49 loc) · 1.33 KB

File metadata and controls

51 lines (49 loc) · 1.33 KB

Description

Simple program chat written in Java. There are two versions: console and graphical.


Install

git clone https://github.com/gl1tchdev/simplechat.git    
cd simplechat

Requirements

jre 1.8 (java 8)


Run

Console version

Server:

java -jar out/artifacts/console/server.jar

Client:

java -jar out/artifacts/console/client.jar

Graphical version

java -jar out/artifacts/ui/server.jar

Client:

java -jar out/artifacts/ui/client.jar

How to use

Step 1. Run the server

First

Step 2. Copy address (or write it)

Second

Step 3. Run the client, paste address, press enter

Don't forget open 4004 port
You don't need fill this field if you run server and client at the same device Third
Press OK

Step 4. Type your nickname and press enter

Fourth

Step 5. Enjoy it

Fifth

You run server and connected. To invite your friend you should send server address, and your friend should repeat 2-4 steps
Clients won't work without run server.

Console version

Use it in those cases when GUI can't be displayed (while connecting ssh for example)