This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Starting Applications Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Starting Applications" Watch "Starting Applications" New topic

Starting Applications

james wilson

Joined: Nov 17, 2001
Posts: 15
Is it possible to start and close applications such as MS Word or Internet Explorer in a standalone java application? if so, how?
Thanks in advance
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
Well, yes, but in some cases it may make your application OS dependant, and you may have to know where stuff is.
Runtime.getRuntime().exec("notepad somefile.txt");
Cindy Glass
Sun Certified Programmer for the Java� 2 Platform
Co-author of Java 2 Certification Passport

"JavaRanch, where the deer and the Certified play" - David O'Meara
I agree. Here's the link:
subject: Starting Applications
It's not a secret anymore!