Raghavansat 0 Newbie Poster

Hi
I have written a script file which uses whiptail --inputbox to get an input and i want to execute this script from a java program... my java code is

Process process = Runtime.getRuntime().exec("/path/../myscript.sh");

but when i run my java code the script is not running. The whiptail box is not appearing.. What should i do to run the script