Tuesday, 29 March 2011

Typical Java Development Environment

There are 5 phases in java development environment.
  1. Editor : Program is created in an editor and stored on disk in a file ending with .java
  2. Compiler:  creates bytecodes and stores them on a disk in a file ending with .class
  3. Class Loader: Class loader reads .class files containing bytecodes from disks and put those bytecodes in memory.
  4. Bytecode Verifier: Bytecode verifier confirms that all bytecodes are valid and do not violate java's security restrictions.
  5. JVM: To execute the program, JVM reads bytecodes and translates them into a language that the computer can understand.
EDIT=>>COMPILE=>> LOAD=>>VERIFY=>>EXECUTE


BYTECODE: Bytecode is the form of instructions that the JVM executes. They are the machine language of the JVM.


0 comments:

Post a Comment