Hii all
My project is a client For a local phpmysql server ... But also is a push server ....
When i run it from the IDE it works fine.
But When i run it through the compiled jar file, it will run normally in the first time but on the second run , it Will immediately shut down , apparently because java.exe is still running , using the same port... So when i terminate the process via task manager , it will then start normally.
Is there a way to prevent this , or perhaps kill the process programmatically , or am i doing something wrong ?
My project is a client For a local phpmysql server ... But also is a push server ....
When i run it from the IDE it works fine.
But When i run it through the compiled jar file, it will run normally in the first time but on the second run , it Will immediately shut down , apparently because java.exe is still running , using the same port... So when i terminate the process via task manager , it will then start normally.
Is there a way to prevent this , or perhaps kill the process programmatically , or am i doing something wrong ?