This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
Can Java interface with Kermit scripts? A co-worker has some Kermit scripts that are used to dial a modem, and wants to know if we can write a Java application that will interface with it. Never dealt with the scripts, Kermit, or anything that he is wanting to do, but I thought I would start my search here. If anyone knows, what are some resources I could use on how to do this? Thanks! Jason
Rob Ross
Bartender
Joined: Jan 07, 2002
Posts: 2205
posted
0
Check out Runtime.exec(). You can use it to launch a command-prompt window from java, and run commands in it. You can communicate with the command window via Input/Output streams you get from the Process object that represents the command-window.
Rob
SCJP 1.4
jason adam
Chicken Farmer ()
Ranch Hand
Joined: May 08, 2001
Posts: 1932
posted
0
Thanks, thinking we're just going to have a little Java prog that calls the batch file already created that runs the Kermit script. Much easier than I thought, thanks for the help! Jason
Michael Matola
whippersnapper
Ranch Hand
Joined: Mar 25, 2001
Posts: 1721
posted
0
Figuring that anything having to do with Java either has a coffee reference or a "j" at the beginning of its name, I did a web search on "jKermit" and turned up this page and this page. Don't know if that helps or not, jAson.
jason adam
Chicken Farmer ()
Ranch Hand
Joined: May 08, 2001
Posts: 1932
posted
0
Once again the voice of reason and logic comes in I'll check out JKermit tomorrow, been a long day playing catch up and doing jsp. Thanks Mike!