JVM

Hi everyone!!!

I'm new to java.....

i'm using jdk1.3 .....that is used to compile and run the java program

i dont know what is jvm and why do u need it.....

next , i dont know.....why and how the java is platform independent

can anyone explain me clearly.....

thanx in advance

[325 byte] By [sankarbalan2003] at [2007-9-30 23:18:20]
# 1

The JVM is a nice bubble, in which evrything runs the same on all platforms. It is a "virtual machine," standard so the programmer need not worry about how floating point values are represented on macs vs. Linux boxes*, what bytecode will do what where, etc.

*strictfp takes care of this, but without strictfp it floating point values may work differently even in java, or so I'm told.

Adeodatus at 2007-7-7 13:51:17 > top of Java-index,Security,Event Handling...
# 2
The JVM means Java Virtual Machine, It is useful to make the file OS compatible means when you are running your code in Windows the JVM makes it Windows Compatible and when you are running your code the JVM makes it Linux compatible.
vasaninj1981 at 2007-7-7 13:51:17 > top of Java-index,Security,Event Handling...
# 3
This should get you running :) http://www.artima.com/insidejvm/ed2/check the first 2 chapters out....
jSweep at 2007-7-7 13:51:17 > top of Java-index,Security,Event Handling...