wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes JVM platform independent or platform dependant? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "JVM platform independent or platform dependant?" Watch "JVM platform independent or platform dependant?" New topic
Author

JVM platform independent or platform dependant?

Shruthi Sam
Ranch Hand

Joined: Jul 09, 2008
Posts: 73
Hi,
My doubt is about the JVM, which is used to run a program. Is JVM platform dependant? are we using different JVM's for different OS? Please clarify.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10167
    
    8

JVM is platform dependent.
JVM for Windows and say Windows for Linux will be different. The JVM acts as an interface/layer between your code and the OS.
That is why your code becomes platform independent.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Shruthi Sam
Ranch Hand

Joined: Jul 09, 2008
Posts: 73
Thank you very much.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JVM platform independent or platform dependant?
 
Similar Threads
JVM - s/w or h/w ?
Is JVM Platform Independent?
swing
Disadvantages of Java
Subjective Questions?