Win a copy of Design for the Mind this week in the Design 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: 20511
54
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