Ho provato questo codice ma non funziona
cosa devo mettere nel command?codice:public static void openFile() { String[] command = { "test.doc" }; try { Runtime rt = Runtime.getRuntime(); Process proc = rt.exec(command); } catch (Exception e) { e.printStackTrace(); } }