Hi; I think this question should be answered in two parts. First of all; the JVM language is platform independent. In other words, the JVM itself should be the intersection of all possible machine languages - which I say all target machines - plus extra capabilities that are not in common for target machine languages. By target machine, I mean all the machines that we want to have JVM for them. So the Bytecode and the JVM language should be platform dependent; but just one platform and it is the Java Bytecode Specifications. Don't panic! This is a point of theory!!!!! And now; how JVM runs the bytecode? OK. now the bottom layer - no difference, you can say the above layer! - is platform dependent. It should knows the platform very well, and just that platform.
let's close it up; Java Bytecode is platform independent; but depends on Java Bytecode specification platform. JVM is platform dependent; since we have different specifications for each platform. be happy & With the hope of rising of Mahdi; Ali Shakiba Shahid Bahonar University of Kerman Iran - Kerman On Thu, Feb 4, 2010 at 7:13 PM, Shashank Malhotra <[email protected]>wrote: > Hi > > Its like a software who does what java programs wants it to do. Java > program is like a data it operates on. > > Think about it like this Java program speaks one language and the platform > speaks other. Its like a middle layer between a program written in Java and > the platform. So it must understand what the program speaks as well as what > the platform understands. Hence it should be platform dependent. > > From what I think JVM should be platform dependent. I may be wrong. I am no > Java programmer or anything. > > Shashank Malhotra > > > > On Thu, Feb 4, 2010 at 6:55 PM, Tikeswar Mohanty < > [email protected]> wrote: > >> tell me JVM is a platform independent or dependent? with reason >> >> -- >> To post to this group, send email to >> [email protected] >> To unsubscribe from this group, send email to >> [email protected]<javaprogrammingwithpassion%[email protected]> >> For more options, visit this group at >> http://groups.google.com/group/javaprogrammingwithpassion?hl=en > > > -- > To post to this group, send email to > [email protected] > To unsubscribe from this group, send email to > [email protected]<javaprogrammingwithpassion%[email protected]> > For more options, visit this group at > http://groups.google.com/group/javaprogrammingwithpassion?hl=en > -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en
