ejupialked/cryptchat

How to run CryptChat app server

Closed this issue · 13 comments

Hi, I hope you are well. Can you please tell me how to compile and run the CryptChat app server? I have run the client but the server is not working and I tried but don't how to do it. Please reply to me as I really need your help. It has to be compiled in Android Studio or any other tool like Netbeans.
Capture

The issue is how I will run the "ServerApplication.java” class. I mean like we build the client app in Android Studio, similarly in which IDE I will build or run the Server side.
Capture1

@AwaisIslam The server code it's a Maven project and you can use something like IntelliJ IDEA to import it and install all required dependencies.

Ok can I use Eclipse IDE for it.

@ejupialked Thanks I have open the server in IntelliJ IDEA, but now how can I run it. Why is showing this red cross in the project?
Capture

and can you tell me that I will use the same IP address and port number you used in demo or not

and can you tell me that I will use the same IP address and port number you used in demo or not

You can decide the port in the UI. The IP address should be your local host.

@ejupialked Thanks I have open the server in IntelliJ IDEA, but now how can I run it. Why is showing this red cross in the project?

Capture

@AwaisIslam Right click that file and run it from there.

@ejupialked It shows this when I right click on the file
Capture1

@ejupialked It gave me this error when I click on the run button.
Capture2

@ejupialked It shows this when I right click on the file
Capture1

You have set no JRE. Set one and see if it works.

@ejupialked thank you I have run the server.

@ejupialked thank you I have run the server.

Let me know if you have other issues. Feel free to improve the code and open a pull request. 😄