I understand there is different java interpretor for each supported operating environment. But what about compiler? Is that unique to platform or single compiler is needed? I think that later statement is correct but I just wanted to confirm... Thanks Barkat [ September 10, 2002: Message edited by: Barkat Mardhani ]
Well, my new iMac came with two Java compilers: javac and jikes .
Ron Newman - SCJP 1.2 (100%, 7 August 2002)
posted 18 years ago
So it means that plateform independence is at source code level, not at byte code level. The code has to be compiled for each plateform after each change.... [ September 10, 2002: Message edited by: Barkat Mardhani ]
The code need not be recompiled for each platform. I often develop and compile in Windows desktop and can run the same in Solaris too without recompilation. The byte code is not platform specific but the way it is interpreted and executed by the JVM is platform specific. Hence only the JVM is platform specific. But can the byte code be JVM version specific ? Iam not sure abt that.
Sab<br /> <br />Perfection does not come from belief or faith. Talk does not count for anything. Parrots can do that. Perfection comes through selfless work.<br />Swami Vivekananda