Does invoking java via two different command line involves two different JVMs or two separate instances of same JVM.
What is the difference in your question? I would say: two different JVM instances. :)
Each run of the the java
command does invoke a new JVM instance. The running java application could run new Java Threads (like a Tomcat does with web applications).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With