ola pessoal
estou tentando levantar o servidor do hsqldb, chego a abrir mais logo em seguida ele fecha, alguem sabe como faço pra deixar ele aberto direto?
esse é o codigo
String comando = "d:/hsqldb/demo/runServer.bat";
try {
Runtime.getRuntime().exec("rundll32 SHELL32.DLL,ShellExec_RunDLL " + comando);
/*java.lang.Runtime rt = Runtime.getRuntime();
java.lang.Process prcs = rt.exec("d:/hsqldb/demo/runServer.bat");
System.out.println("teste");*/
} catch (IOException e) {
e.printStackTrace();
}