Script Shell in java code

view full story

http://www.unix.com – Hello, I try to run a script shell from a java program: Quote: Runtime.getRuntime().exec(myShellScript); but it runs only if i do :chmod 777 myShellScript in the terminal Please how can i insert chmod 777 in my java code without going through the terminal? Thank you (HowTos)