File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Query on JVM

 
Gavi Raaghav
Ranch Hand
Posts: 82
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If i download JDK on my standalone machine and run 2 seperate Hello World programs then whether they will run on seperate JVM's or both will run on the same JVM?
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24204
34
Chrome Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Separate.

Moving to Java in General(Beginner).
 
Marilyn de Queiroz
Sheriff
Posts: 9059
12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Each time you type
java ClassName
you start a new JVM.
 
Gavi Raaghav
Ranch Hand
Posts: 82
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it a new JVM or a new instance of the same JVM?
 
Hentay Duke
Ranch Hand
Posts: 198
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How many JVMs do you have installed on your machine? Generally it's just one and a new instance is created of it I believe. Someone here will correct me if I'm wrong.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic