Java Reference
In-Depth Information
2
Introducing the Java
Development Environment
In This Chapter
Runtime Interpretation and Java Byte Codes
Getting Started with Java's SDK
Applets with SDK
Classes and Filenames
CLASSPATH
CODEBASE
Packages
Inside a Package
Name Collisions
Packages and Filenames
Compressed Packages
Applications vs. Applets
Reviewing the Samples
This chapter will introduce Java and the Java virtual machine (JVM or Java VM),
the environment in which your Java programs will run.
R UNTIME I NTERPRETATION AND J AVA B YTE C ODES
Java's designers had a number of primary design objectives. As you have seen, ob-
ject orientation is one of them. Another is the premise that a program can be com-
piled on any machine and the output of the compiler simply moved to another
machine, where it will execute without changes. This concept is captured in the Java
mantra, “Write once, run anywhere.”
17
Search WWH ::




Custom Search