Error: org.apache.commons.exec.ExecuteException: Execution failed (Exit value: -559038737. Caused by java.io.IOException: Cannot run program "komodod.exe" (in directory "C:\Users\tufan\Desktop\walletkmd"): CreateProcess error=2, The system cannot find the file specified)
altough the komodod.exe is in this directory. What am i doing wrong here ?
You can test it by putting komodod.exe in c:\windows (just a test) and see if it finds it. c:\windows should be in the default %PATH% variable and should be able to find it there. At least you'll know that it will start the process and then debug the specific reason why it's not working from the user Desktop directory.
Also, I assume you're running your program as user "tufan" and you have access to the Desktop folder?