File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes About JVM Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "About JVM" Watch "About JVM" New topic
Author

About JVM

Deepak Yadav
Greenhorn

Joined: May 22, 2008
Posts: 9
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

Joined: Oct 13, 2005
Posts: 36478
    
  16
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
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
Where do you see the contradiction between Java being platform-independent and the JVM being platform-dependent?


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: About JVM
 
Similar Threads
Java Compiler and JVM are platform dependent or independent?
why JVM different?
JVM - s/w or h/w ?
Java Virtual Machine
Java Compiler and JVM are platform dependent or independent?