In my recent task I need to execute a java command and get some value from it and use it in my program.
I read lot about it in the online forum but non is working for me.
I tried creating bat file of it and executing it in my program but that also is not working.
When I execute it in the command prompt or executing the bat file directly then it works. But when I execute from the application/exe then it fails.
I need the output also.
Any help is highly appreciated.
Thanks in advance.