We have developed stand alone application using java swing. Then we have converted application jar file into exe format (say sampleApplication.exe) for running on windows flatform. While running the sampleApplication exe, it will write some string (say Hello this is sample application) in its console window. Now my another java application has to call the sampleApplication exe and has to read string in the console window which is written by sampleApplication exe.
My problem is how to read the string in console window which is written by sampleApplication exe.
and Is it possible to call particular java method in sampleApplication exe because this exe is converted from jar only.