4 Implementing Java Program.
4 Implementing Java Program.
R COLLEGE OF
SCIENCE,KOVVUR
CLASS :IIB.SC(M.P.CS,M.S.CS,M.C.CS)
Java program involves two steps for its execution: one compilation and the other
execution. We use “javac” tool to compile java program. It gives byte code file
whose extension is “.class”. This is an intermediate file and not directly executable.
To Compile the program first Open Command Prompt and type the command
Classpath is system environment variable used by the Java compiler and JVM.
Java compiler and JVM is used Class path to determine the location of
JVM verifies the current directory for them, if not available it verifies the set of
To set the classpath follow the command.By using class path javacompiler and