SIX phases.. i am sure every source code in java will compiled only three phases and the remaining three phases will be compiled on other (depends upon the instruction set of corresponding processor) to create an ".exe" file.
Java has both a compiled and an interpreted stage.1) The programmer writes his source codes (.java extension); a compiler will compile this to bytecode (.class extension).2) When the end-user runs the .class program, the JVM (Java Virtual Machine) will interpret this.
Very carefully.
javac is the command that is used to compile Java source files.
make is a utility program, compile means translation from source to object module.
If source code requires a runtime in order to translate the source code into machine code, executing one statement at a time, then it is interpreted. If the source code has already been converted into machine code in advance, then it is compiled. Compiled code does not require a runtime. Note that compilers do not execute programs, they simply compile them. Your development environment may well execute the machine code once it is compiled, but that is not the job of the compiler, the IDE has simply launched the executable.
If you are finished, press F9 or find the compile button on the top, let it compile, and your set to go.
No. You can compile without printing the source. Indeed, I know of no compiler that would allow a program's source to be printed while it is being compiled. They are completely separate and unrelated tasks.
Ubuntu comes precompiled. Although you could compile it from source, that would take days, and would be pretty silly. To compile programs on Ubuntu, first "sudo apt-get install build-essential", then run "./configure" and "make" in the directory where you have the source code.
Coverts source code into object code
No, that's what the compiler does.
Compile time is when the compiler translates your source code into computer language. Run time is when the actual program runs.
compile:javac filename.javarun:java filename