Before running the project, please follow these instructions:
-
Include the
jsonjar file fromorg.json.JSONObjectlibrary:- Press L-CTRL + L-ALT + L-SHIFT + S to open the Project Structure.
- Navigate to Libraries.
- Click on the '+' icon to add a new library.
- Select Java.
- Point to the file named json-20230227.jar.
- The file should be located in the directory where you extracted the zip file.
-
Run the Server -
ServerApplication. -
Run the Client -
SimpleClientGUI.
To allow multiple runs in parallel, follow these steps:
- Go to the Menu.
- Select Run.
- Choose Edit Configurations.
- Modify the options and enable Allow Multiple Instances.
- Java: 18.0.2.1 (Released on 2022-08-18)
- Java Runtime Environment: Java(TM) SE Runtime Environment (build 18.0.2.1+1-1)
- Java Virtual Machine: Java HotSpot(TM) 64-Bit Server VM (build 18.0.2.1+1-1, mixed mode, sharing)
Please ensure that you have the appropriate version of Java installed before running the project.