Java Compilers
Java compilers include the Java Programming Language Compiler (javac), the GNU Compiler for Java (GCJ), the Eclipse Compiler for Java (ECJ) and Jikes.
A compiler in Java translates the entire source code into a machine-code file or any intermediate code, and that file is then executed.
It is platform-independent. A bytecode is basically an intermediate code generated by the compiler after the compilation of its source code. Java compiler can be operated by using the “Javac.exe” command from the command prompt. Some of the compiler options are given below: