2. INTRODUCTION TO JAVA CONCEPTS
Java and all Java-based trademarks are trademarks of Sun Microsystems.
What is Java JDK? JDK stands dejava Developers Kit is, toolset to develop (applications) in
countless classes Java.Existen accompanying the JDK that is installed in order to get
started programming in JAVA.
What makes it different from the other JAVA programming languages? What
distinguishes Java from other programming languages is its conception of departure, in
which language is to create a road that can be used to program in all types of operating
systems and processors. One of the most important features is that the programs
"executable", created by the Java compiler, are independent of the architecture. Run
interchangeably in a variety of microprocessors and computers with different operating
systems.
Is the language is compiled or interpreted?
Java is compiled when the source code is translated into an
object called machine code (binary, bytecode) and is
interpreted because the machine code can be run on any
platform which should be an interpreter executing it in real
time.
To run it, you need an interpreter, the JVM (JavaVirtual
Machine) Java virtual machine. Thus, it is possible to
compile the program on a UNIX workstation and run it on
another Windows using the Java virtual machine for
Windows.
This JVM is responsible for reading the bytecodes and
translate them into executable instructions directly on a
particular microprocessor.
Kenia Álava
3. The Java Virtual Machine (JVM).
The Java virtual machine is the revolutionary idea of language. It is the entity that provides
platform independence for Java programs compiled into byte-code.
BLOCK OF QUESTIONS
What is the purpose of the JVM?
Being a byte-code translator to make the same program in byte-code can be run on
different platforms to transform the native machine code on which it runs.
What is a bytecode?
It is an intermediate between the Java programming language and the final machine code.
Why Java is not compiled into machine code, like other programs?
Precisely to allow it to run on any computer on the Internet, it has a microprocessor
80x86, 680x0, PowerPC, Alpha, MIPS, etc ...
Kenia Álava