File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply 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: 12267
    
    1
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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: running java program from a shell script
 
Similar Threads
call java program from script?
how to get result from java when java thread is running in background
Linux script to call a java program
How return a string from java program to the shell which invokes thee java command
Running a Java Class from a Unix Shell Script