0
  1. I am running Eclipse, Tomcat, a servlet based webapplication my windows 10 machine. I was wondering how many JVM instances will be created?

  2. Also, When will JVM be instantiated in windows 10 on startup or on starting any java based app.

1
  • It will be two: a. One for eclipse. b. One for tomcat. Assuming your servlet application is deployed within the tomcat container. JVM gets instantiated when you start a java based app, not on windows startup Commented Oct 23, 2018 at 4:42

1 Answer 1

1
  1. One per process. See the Processes tab of your Task Manager.

  2. When starting a JVM process (typically once per app, but could be more if it forks).

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.