aspose file tools*
The moose likes Beginning Java and the fly likes Call executable 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 "Call executable program" Watch "Call executable program" New topic
Author

Call executable program

Morley Yeung
Greenhorn

Joined: Jun 19, 2001
Posts: 8
How to call external program, such as executable program from Java. Is it nessary to make library such as dll to call the program?
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
You can use something like:
Process p = Runtime.getRuntime().exec("notepad.exe OpenMe.txt");


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Call executable program