wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes launch any other program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "launch any other program" Watch "launch any other program" New topic
Author

launch any other program

vijay shanker
Ranch Hand

Joined: Oct 26, 2007
Posts: 88
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

Joined: Oct 27, 2005
Posts: 19649
    
  18

Check out java.lang.ProcessBuilder when using Java 5.0 or up, and java.lang.Runtime#exec for Java 1.4 and earlier.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
 
subject: launch any other program
 
Similar Threads
How to write and deploy a complete EJB Application
File is open for long
Automatic logout
Need HELP !!!
Querying application status on WLS 10.3