L1 - Java_Background

L1 - Java_Background - History and Implementation History...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
History and Implementation
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
History Originally developed as a language for set- top boxes (like Sat/Cable TV) WORA – philosophy Write Once, Run Anywhere A noble goal, not truly achieved. In order to achieve this, had to interpreted, not compiled What does this mean?
Background image of page 2
Interpretation vs. Compilation This is admittedly a “fuzzy” distinction, but Compiled languages are translated into machine (assembler) op-codes (instructions). This is a translation to machine-language Interpreted languages (Java, Perl, Python, PHP, etc., etc) are also “compiled” but not to pure machine code Instead they are translated to op-codes for a “virtual machine” like the JVM.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Compilation vs. Interpretation, cont. The VM op-codes for a virtual machine cannot be carried out directly on the hardware, but must be executed by another program running on the target In the case of Java, this is the JRE (Java Runtime Environment) Javac compiles, java runs.
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 03/01/2012 for the course COP 2800 taught by Professor Geraldreed during the Spring '08 term at Valencia.

Page1 / 8

L1 - Java_Background - History and Implementation History...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online