Java Execution/Development Process
Java is a platform independent language.
There are three stages involved in Java execution/development process:
- Development.
- Compilation.
- Execution.
Development
We write Java program in an editor(eg: notepad) and save it with .Java extension, these files are known as Java files or source file.
Compilation
Using Java compiler we have to compile source files. Java compiler generates a class file which has an intermediate language called as byte code.
By default class files will be stored in the same directory which has source file.
Execution
Using JRE we can execute class files, JRE converts and executes byte code one line at a time.
To compile and execute java program we need both Java compiler and JRE but to execute class files only JRE is required.
Softwares Required for the Process:
- Editor(eg: Notepad, eclipse).
- Java Compiler.
- JRE.
0 Comment(s)