Hi everyone! Once I read from a sitepointer,
I would like to run a java file directly [not using cmd] by clicking on a simple icon or button.Code:Instead of executing the command directly, use this instead: Code: String cmd = new String; cmd = "cmd.exe"; cmd = "/C"; cmd = theInput; You need to hit the windows command interpeter first or you won't be able to do much. theInput is your command.
Could anyone provide some help.