Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 705 Bytes

README.md

File metadata and controls

36 lines (27 loc) · 705 Bytes

sistemas-distribuidos

Steps to execute trabalho-um

  1. Build the project using netbeans.
  2. Open the project's build folder.
  3. For each of 4 terminals, run the command:
// Terminal 1: 
java -jar TrabalhoUm.jar 0

// Terminal 2:
java -jar TrabalhoUm.jar 1

// Terminal 3:
java -jar TrabalhoUm.jar 2

// Terminal 4:
java -jar TrabalhoUm.jar 3

Steps to execute trabalho-dois

  1. Build both projects using netbeans.
  2. Open the project's build folder.
  3. For each of 3 terminals, run the command:
// Terminal 1: 
java -jar trabalho-dois-servidor.jar

// Terminal 2:
java -jar trabalho-dois-cliente.jar name1  

// Terminal 3:
java -jar trabalho-dois-cliente.jar name2