JAVA Virtual Machine And JAVA Run Time Environment Tutorial

Veröffentlicht am: 09 Juli 2014
auf dem Kanal: Java Dukes
6,625
38

This video will help you in understanding why java is platform independent. In the previous video i have told you that that java is platform independent i.i. we can run a java program on any machine .it works on execute once and run anywhere concept. A Java program can run on any machine having a jre.

JRE stands for java run time environment. By default jre is present in allmost every computer .whenever we excute a program in c/c+ the on compilation it is converted into machine code which is machine dependent. but the same dos not happen with java

whenever we execute a program it first gets converted into bytecode or intermediate code. his bytecode is 80% machine code and 20% source code . now when we run the program then this bytecode is converted into machine code .

Jre provides us a virtual machine which is known as JAVA VIRTUAL MACHINE .whenevr we execute a java program then on compilation that program is first converted into machine code of jvm .this machine code of jvm is 80% machine code and 20% source code . when we run the program the program hen this bytecode of jvm is executed .
thus we can say java is two stage language.
first step is compilation and second step is execution


Auf dieser Seite können Sie das Online-Video JAVA Virtual Machine And JAVA Run Time Environment Tutorial mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Java Dukes 09 Juli 2014 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 6,625 Mal angesehen und es wurde von 38 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!