WORA Before knowing how java compilation works,We have to know something called WORA - Write Once and Run Anywhere. Java compilation works like a kind of WORA , we can write java code once and we can compile that in different platforms with JRE(java runtime environment) JAVA COMPILATION PROCESS FIG-1 As show in the FIG-1 only JRE can understand the ByteCode, N Source Code The code written by developer are said to be the source code.In this case code written in java is stored in a file name with the extension .java class Simple{ public static void main(String args[]){ System.out.println("Hello Java"); } } Save this file as mycode.java Javac Javac is just a compiler for compiling java programs,It cannot execute the source code ,Its purpose is only to check and return error if any syntax error is found ,Else it compiles and produce the bytecode with the ex...