Runtime.exec()
capturing the output and err streams and feeding the inputstream
or opening a socket connection and attempting the protocol yourself.
Read the API and tutorials for those, and search javaworld.com for a good document on the pitfalls of Runtime.exec
Reputation Points: 1471
Solved Threads: 490
Industrious Poster
Offline 4,043 posts
since Feb 2006