I am creating a small application which I am going to deliver as a jar file. The main class inside that jar file has to execute one .exe file if some condition is satisfied. I have put the exe file also inside the jar. But while running the jar file, it is not executing the .exe file. If I put the .exe file inside the folder from where I am running the jar file then it is working fine. But I cannot deliver as a jar file and a exe file.What can I do now?
By the way, I am using Runtime.getRuntime().exec() method to execute the exe file from the java
program. Help me out friends.
SCJP 1.4, SCWCD 1.4, SCBCD 1.3, NEXT--->IBM XML