Running a external exe in Mac OS
In a mac os, when I try to run an external exe by the process builder I get the next exception:
ava.io.IOException: Cannot run program "installation/osx/program": error=13, Permission denied
at java.lang.ProcessBuilder.start(ProcessBuilder.java :460)
at java.lang.Runtime.exec(Runtime.java:593)
at java.lang.Runtime.exec(Runtime.java:431)
at java.lang.Runtime.exec(Runtime.java:328)
In windows I dont this issue, the process is well instantiated. I could I do?
Thanks in advance.
Re: Running a external exe in Mac OS
You can't run .exe on Mac OS can you?!?!?
Re: Running a external exe in Mac OS
I am executing the correct binaries accordingly the operative system.
Re: Running a external exe in Mac OS
Can you run the app on the command line? I've seen this error when the app has incorrect permission.
Re: Running a external exe in Mac OS
In fact, I canīt run it in the command line.... This seems not to be a java problem. Do you know how to configure these permissions in mac?? (I am not personally using this OS..)
Thanks for your help.
Re: Running a external exe in Mac OS
chmod, 755 allows it to be read and executable by everyone. You can also do a 'ls -al' to check if it currently has executable permissions.