Sep 12, 2013

Internals Of Java Compiler

Internal mechanism of Compiler in java:Let us describe internals of java compiler.A Java Compiler is the collection of programs which is used to compile the java programs. Java Compiler checks java source code if syntactically correct then generates .class file (bytecode) and save into current working directory else java compiler generates compile time error.
for example-
 Here javac is used to invoke java compiler and to load the source code from Hard Disk to Ram.