• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAVA Virtual Machine

 
Phillipe Rodrigues
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
Please do let me know the use of JAVA Virtual Machine?Whats its use?Where does it reside?
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's the program that executes Java bytecode -- i.e., java.exe.
 
Phillipe Rodrigues
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can there be an instance of JVM?
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Rakesh Mestry:
Can there be an instance of JVM?


"An instance of the JVM" would generally refer to one copy of the running program; you can have many copies of java.exe running at once, so indeed, you can have many instances of the JVM on one computer.

Technically, some JVM implementations might allow you to have more then one instance inside a single program, although Sun's JVM implmentation can't do that.
 
Phillipe Rodrigues
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do environment variables have a relation with JVM.
 
Campbell Ritchie
Sheriff
Posts: 48386
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rather flattering little history of the JVM here, and more details on Wikipedia.

The environment variables (well, the PATH) tell the OS where to find the JVM.
 
Rob Spoor
Sheriff
Pie
Posts: 20494
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't forget CLASSPATH. It informs the JVM where to look for classes by default.
 
Mandar Khire
Ranch Hand
Posts: 567
Android Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this link
jvm
------------------------------
again jvm
 
Campbell Ritchie
Sheriff
Posts: 48386
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why do you keep reopening old threads? Read this FAQ.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic