This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
Hi guys i want to know whether java is machine independent or OS independent. Though we have different versions of JAVA runtime for different os's (linux, windows) but suppose if i have 2 machines (say running Intel pIII 550) one having a windows os and the other having a linux os. Will platform independency come into picture in this scenario or will it be the same output jre will interpret into in both the cases. Say if i have 2 different processors (Intel & amd) with the same o/s (windows) .In this case will jre interpret the java byte code into 2 different types of machine language(processor being different) Kindli can some 1 clarify whether java is processor independent or o/s independent
Java bytecode is machine-independent. The virtual machine used as the interpreter, however, is both machine-dependent and OS-dependent. Whoever maintains the VM code is the one who has to manage all the porting issues and such.
Make visible what, without you, might perhaps never have been seen. - Robert Bresson
rak shar
Greenhorn
Joined: Dec 06, 2002
Posts: 9
posted
0
Hi Michael Thanks for u r prompt reply. Just one more clarification. So can we say if we have a windows os on different machines (intel & amd) we will be having 2 different jre's or just 1 jre is available for 1 o/s & the o/s takes care how to communicate with the machine.
Jon Strayer
Ranch Hand
Joined: Dec 04, 2002
Posts: 133
posted
0
Originally posted by rak shar: Hi Michael Thanks for u r prompt reply. Just one more clarification. So can we say if we have a windows os on different machines (intel & amd) we will be having 2 different jre's or just 1 jre is available for 1 o/s & the o/s takes care how to communicate with the machine.
One JRE.
Jon
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.