Are you looking to run linux commands from the Java application? If so one way I used that works well is:
String[] commandShutdown = {
"gnome-terminal",
"-e",
"sudo /sbin/shutdown -h...
Type: Posts; User: devett
Are you looking to run linux commands from the Java application? If so one way I used that works well is:
String[] commandShutdown = {
"gnome-terminal",
"-e",
"sudo /sbin/shutdown -h...