How JAVA works
Coders write
an application and want that application to run on user’s devices. Coder’s will
be providing their Source Code to
the JAVA Compiler which will check the source code errors until it's
error free and then run the document converting this Source Code into JAVA bytecode which can be understood by the JVM (JAVA Virtual Machine) running in
user’s electronic device. The JVM then converts the JAVA bytecode into the
Application which we see in our gadget.
Create Source Code
document and use established protocol as in JAVA language.
Document is run through a
source code Compiler which checks for errors and won't run the documents unless
it's satisfied that everything will run correctly.
The compiler creates a new document coded into JAVA bytecode. Any device which runs JAVA will be able to interpret this file into something it can run. The compiled bytecode is platform independent.
Any device which capable to run JAVA will have a Virtual JAVA machine also know as JVM ( JAVA Virtual Machine) running inside the electronic gadget.
The JVM runs the bytecode and then users can see and interact with the application on their device.