I am developing a simple chat application in java. It has two parts Server.java and Client.java. When I run these files on a local network they work fine but when I run them on PCs that are on different networks it does not works. Can anyone please guide me how to do it.
With that code, the compiler will tell you where the fault is. (Missing closing parenthesis on the first line.)
If you get a compiler error or a runtime error that you don't understand, and you want us to help you, then you need to include the error details. Just saying "it is incorrect" or "it doesn't work" is not enough.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
the error is :<pre>" Uncompilable source code - Incorrect symbol type: <any> .add"
The error is more complicated than a non-closed parenthesis on the first line
And we are all here to interact with each other and learn from each other even their mistake, tnx for your help and for your good advice
When you don't understand what your code is doing or why it does what it does, the answer is debugger.
Use the debugger to see what your code is doing. It allow you to execute lines 1 by 1 and to inspect variables as it execute, it is an incredible learning tool.
How can i register with new nimbuzz account using java with smack library.I tried old method but its not working now. its giveing an error "not-allowed (error 405) you are using old version of nimbuzz please upgrade.For more information visit on http://wap.nimbuzz.com".
Last Visit: 16-Jun-19 12:44 Last Update: 16-Jun-19 12:44