is the following command working under Unix&Linux?
ProcessBuilder prcbdoc = new ProcessBuilder("cmd","/C","start", "Documentation.doc");
prcbdoc.directory(new File(currentDir+"/docs/"));
prcbdoc.start();
I’m not sure because of the "cmd" "/c"
€:
What would be an Linux CentOS equivalent command?
No, it doesn’t work. From Java documentation:
To open a document in a portable manner using AWT: