File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

About JVM

 
Deepak Yadav
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is always said that Java is Aritecture Netural, Java is platform independent but JVM we are using is Platform dependent Why???
Please clerify my answer..................
 
Campbell Ritchie
Sheriff
Pie
Posts: 47258
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java is platform independent because the JVMs are platform specific.

Java bytecode is exactly the same, but what you need to run on Windows is different from Linux and that is different from Mac.
So the different JVMs take the same bytecode and run it for their machines.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where do you see the contradiction between Java being platform-independent and the JVM being platform-dependent?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic