wood burning stoves 2.0*
The moose likes Java in General and the fly likes Java and Kermit scripts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Java and Kermit scripts" Watch "Java and Kermit scripts" New topic
Author

Java and Kermit scripts

jason adam
Chicken Farmer ()
Ranch Hand

Joined: May 08, 2001
Posts: 1932
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
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
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: 1746
    
    2
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
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java and Kermit scripts
 
Similar Threads
Can we disable javascript in IE programatically?
Tools for coverage of webscripts
Run ant in servlet
run a Java application every hour automatically
how to use a text box value set by java script