aspose file tools*
The moose likes Java in General and the fly likes running java program from a shell script Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "running java program from a shell script" Watch "running java program from a shell script" New topic
Author

running java program from a shell script

kiran kiran
Greenhorn

Joined: Dec 04, 2003
Posts: 12
Hello,
I want to know the internal process of running a java program from shell script. I want to run a java program (residing in iPlanet webserver) from the shell script. Will the shell script invoke a seperate JVM to run this java program? What happens internally? Anybody please explain.
Thanks
Kiran
kiran kiran
Greenhorn

Joined: Dec 04, 2003
Posts: 12
Nobody on this forum is capable of explaining this?
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12835
    
    5
Maybe we didn't think the question sufficiently interesting and/or thought you would probably figure out the answer yourself.
If you start a Java program from a shell script you get a new JVM instance just like if you started it from a command line. Unless by "residing in iPlanet webserver" you mean a servlet, in which case it naturally runs in the servlet engine JVM.
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: running java program from a shell script