Hi, I'm try run a executable file in Ubuntu (linux) since a java program, but It don't run.

The call of external program, I have with a button, and in the linux terminal, I can execute with the following sentence:

/home/Placas/./miprueba


I write the subroutine:

private void jButton6ActionPerformed(java.awt.event.ActionEvent evt) {
//Intento lanzar un ejecutable
try
{
/* directorio/ejecutable es el path del ejecutable y un nombre */
Process p = Runtime.getRuntime().exec ("/home/Placas/./miprueba");
}
catch (Exception e)
{
/* Se lanza una excepción si no se encuentra en ejecutable o el fichero no es ejecutable. */
e.printStackTrace();
}
}



Thanks for your help