I am trying to execute a system command through java.I am trying to check whether a particular service is running in a
remote PC.When i execute a same command in local PC i.e. without IP Address, then i am getting proper output response.But
when i use remote IP Address and BufferedReader to get the response ,the application is getting hang after
BufferedReader.readLine() method call.. I have attached the code which i have written.
The execution stops after line 17: bufferedReader.readLine(); with out any error