Tuesday, 23 September 2014

java Architecture


By the end of this Article you will be able to understand

The Architecture of Java Language.

Java Program Execution Process



Now let us Understand the Java Architecture. 

As shown in above figure,

1) Java program source files are saved with extenion .java(dot java).

2) This   .java  file is compiled using java compiler which creates a file with extension  .class  
known as byte code.


JVM Parts


3) Then the java runtime environment (JRE) runs code compiled for a JVM.

4)The Class Loader performs the tasks of loading all .class files for the execution of a program.

5)The Byte Code verifier verifies the code that tests the format of code fragments and checks code fragments for illegal code.

6)The interpreter executes the code.








No comments:

Post a Comment