Professional Documents
Culture Documents
Introduction to Java
2. Programming in Java2
Author : E. Balagurusamy
Web Source:
http://java.sun.com/docs/books/tutorial/
http://java.sun.com/javase/6/docs
Compiler creates
Phase 2 Compiler Disk bytecodes and stores
them on disk in a file
ending with .class.
Primary
Memory
Phase 3 Class Loader Class loader
reads .class files
containing
bytecodes from disk
and puts those
Disk bytecodes in
. .. memory.
..
.
Primary
Memory
Phase 4 Bytecode Verifier Bytecode verifier
confirms that all
bytecodes are
valid and do not
violate Java’s
security
. ..
.. restrictions.
.
Primary
Memory Interpreter reads
Phase 5 Interpreter bytecodes and
translates them into a
language that the
computer can
understand, possibly
storing data values as
the program executes.
. ..
..
Ashish Bajpai ,Assistant professor . 18
Department of CSE, KIET 18
05/07/2008 Mosarratj Jahan, Dept. of CSE, DU
Java Environment
Development tools-part of java development kit (JDK).
Classes and methods-part of Java Standard Library (JSL),
also known as Application Programming Interface (API).
1. JDK:
Appletviewer ( for viewing applets)
Javac (Compiler)
Java (Interpreter)
Javap (Java disassembler)
Javah (for C header files)
Javadoc ( for creating HTML description)
Jdb (Java Debugger)