Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Invoke exe from java

 
fahad siddiqui
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to invoke a .exe file on the windows from a Java code?
Please provide some sample.

Thanks a lot in advance.
 
Joe Ess
Bartender
Posts: 9300
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look at this Javaworld article.
 
rohit leeta
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can check this one too:

http://www.java-tips.org/java-se-tips/java.util/from-runtime.exec-to-processbuilder-2.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic