There are 5 phases in java development environment.
- Editor : Program is created in an editor and stored on disk in a file ending with .java
- Compiler: creates bytecodes and stores them on a disk in a file ending with .class
- Class Loader: Class loader reads .class files containing bytecodes from disks and put those bytecodes in memory.
- Bytecode Verifier: Bytecode verifier confirms that all bytecodes are valid and do not violate java's security restrictions.
- 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