Return to Unit Menu |  Java Main Page | | Terms of Use  

The Mechanics of Creating
a Java Program

Java is called a compiled language. Java programs are written as source code (text files) and are then passed to the Java compiler which translates the code into a form that the computer can understand.

Java Program:  a set of instructions for the computer to follow.  The source code.

Data:  data for the Java program

Java Compiler:  translates the program from Java to a language that the computer can understand.  Compilers differ by make of machine and operating systems.

Byte Code Program:  the compiler translates Java into a language called byte-code.  Byte code is the machine language for a hypothetical computer called the Java Virtual Machine.

Byte Code Interpreter:  the interpreter translates each instruction of byte code into instructions that the computer in use can execute.

Machine Language:  is the language the computer in use understands.



Return to Unit Menu | Java Main Page | | Terms of Use