File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Running a third party exe.... 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 » Java in General
Bookmark "Running a third party exe...." Watch "Running a third party exe...." New topic

Running a third party exe....

Rashmi Tambe
Ranch Hand

Joined: Aug 07, 2001
Posts: 418
How can i execute a third party exe from within my java program. I want to start a third party exe on an occurance of a certain event.
How can i do this ? using native calls , JINI or what ? can somebode guide me ?
Rob Ross

Joined: Jan 07, 2002
Posts: 2205
you can use Runtime.exec() and pass the name of the application as a parameter.
[ March 10, 2002: Message edited by: Rob Ross ]

SCJP 1.4
Don't get me started about those stupid light bulbs.
subject: Running a third party exe....
It's not a secret anymore!