I am not an expert in JAVA but I have some question which may lead to a solution.
1. Does your script start at all?
2. In which directory does JAVA expect the script to be?
3. What is the current directory for JAVA?
If you answer no to 1 is
Process p=Runtime.getRuntime().exec("sh ./a.sh");