Can u tell me how to make java code as native machine code.Or which things make it as to run on any other machine
The java byte codes(.class files ) can be run in any machine(Unix,Windows,Mac etc) . The idea is the JDK for windows,Unix,Macintosh are of different flavours and the java.exe for each OS is able to interpret the byte codes and convert in into the corresponding m/c language . This makes java slower than other languages .
Hi Debashish ,
Thts fine wht u said .But i want to know which parameter makes the java code as Platform Independent.And also if we want to make it as platform dependent then wht we have to do.