Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

running java program from a shell script

 
kiran kiran
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nobody on this forum is capable of explaining this?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13074
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic