0
Can I run an exe file using a java ??
I want to run any .exe file on my System using Java, I have experience with C++ and few other programming languages but not Java. Any leads or ideas would be appreciated!
4 ответов
+ 4
If you want to run a .exe file from within java i believe you can use this
Runtime.getRuntime().exec("yourapp.exe");
+ 3
i believe you need to convert it into a .jar file so that it can be executed
+ 2
Java's executable files (.class) runs through a VM... wich is part of the JDE. Why would you run .exe files through java anyway?
0
I need to run any pre-existing software on the system. I'm trying to make a GUI and want to start a program say "Calculator" on my windows by the press of button.