This week's giveaway is in the Testing forum.
We're giving away four copies of TDD for a Shopping Website LiveProject and have Steven Solomon on-line!
See this thread for details.
Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

java virtual machine

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
why jvm is called a virtual machine and not by someother name.
why can't be a same jvm be made available for all the OSs.
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi gopal!
JVM is called JavaVirtual Machine because it doesnot exist physically.it is a virtual thing which perfoms some action.thats why it is named virtual machine.
and about your next question..why cont they put some other name.
my answer is why cont they put this name only for it,because "virtual machime" well siuts the functionality it is perfoming.
 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually JVM acts as a interface between your program and the operating system. JVM interacts with the operating system functionalities, and the functionalities differ in operating systems. So that we can't have same JVM for all operating system.
 
Ranch Hand
Posts: 531
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It would be impossible to have one JVM for all operating systems because the JVM relies on operating system calls to provide many of the facilities which Java programs use. Java programs should run on any operating system but since each one is dramatically different, you need a JVM specific to each operating system. The JVM exposes a consistent interface to Java programs but it has to adapt those services to the actualy operating system underneath. Moreover the CPU instruction sets vary wildly so if nothing else you would have to compile Java to a form specific to each CPU.
 
Crusading Chameleon likes the size of this ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic