I need to run a batch file which is already inside of my Java package. Below is my code.
public class ScheduleTest {
/**
* @param args the command line arguments
*/
public static void main(String[] args) throws IOException {
Process exec = Runtime.getRuntime().exec("test.bat");
}
}
test.bat is located inside the scheduletest package, where the ScheduleTest class also located. Below is the package structure.

How can I make this happen?
EDIT
This is the content of my batch file
echo hello;
pause