aspose file tools*
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 Spring in Action this week in the Spring 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: 19719
    
  20

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: launch any other program