The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
February 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Two JVM instances are running

Posted by Kishori Sharan on February 12, 2001 at 10:52 PM

At runtime java.exe is nothing but a runtime Java Virtual Machine. So your machine is having two running Java Virtual machine. When you execute a command like
java your_class_name
then it starts a new instance of a JVM and starts executing the class your_class_name. If you want to run another class at the same time then you need another instance of JVM. In other words, one instance of JVM runs one class only. That is the only thing I can tell you now. I don't know anything about IBM WebSphere, so I cannot tell you why it is running two instances of JVM.

Thanx
Kishori



Replies:
  • Thanks ... Isaac Chan February 12, 2001 at 11:07 PM (0)

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us