This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

launch any other program

 
vijay shanker
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ranch group,

i am very curious today to know, it there exist any way by which i can open windows application by my program.

all i want is to open MS Office Word application through a java program.

thanks
 
Rob Spoor
Sheriff
Pie
Posts: 20608
63
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out java.lang.ProcessBuilder when using Java 5.0 or up, and java.lang.Runtime#exec for Java 1.4 and earlier.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic