Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JVM - s/w or h/w ?

 
atul kashyap
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please help me understand two things about JVM:
1. Is JVM partly software and partly hardware?
2. Is JVM platform independent?
Where can I find more info about JVM.
Thanks in advance
 
Val Dra
Ranch Hand
Posts: 439
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JVM is just a software. Java as a language is platform independant but as JVM are platform oriented. There are different JVMs available for different platforms.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In addition, Sun just publishes the specs for the JVM. Each browser vendor writes their OWN JVM, so they each act a bit differently. Sun did write the JVM in the JRE (Java runtime environment) which you would use if you have an application that does not run in a browser.
 
atul kashyap
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Thanks Val and Cindy. Please tell me where I can find some more good info about JVM.
Thanks a lot
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://java.sun.com/docs/books/vmspec/html/VMSpecTOC.doc.html
 
atul kashyap
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Cindy. You are the sweetest.
Thanks a ton.
 
octavyn pittman
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We should make a non-virtual java machine...one that objects to everything.
OP
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
LOL
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic