I have a Java program I want to run it using a batch file. I created a batch file and the java program is running too.
Now I want to do error handling to see if there was any error. So I want the bat script to capture non zero return codes & display if the run was successful or not.
Can you let me know how this can be achieved? Do I need to do this handling in Java program or the Batch file?