I am unable to call a shell script from my java code. Here is my code. Can anyone let me know what I am missing here.
protected boolean shellExecute() throws InterruptedException {
try {
Process p = Runtime.getRuntime().exec("/home/baibhav/try_scripts/javacall.sh");
} catch (IOException e) {
e.printStackTrace();
return false;
}
return true;
}
Exception?