Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Topics
JAVA Introduction
JAVA Milestones
JAVA Features
JAVA Compilation and Interpretation
JAVA Platform Independence
Multi-Platform application
JAVA Programming: The Edit / Compile / Run
Some Sample Java Based Applications
JAVA – An Introduction
1994 The team developed a new Web browser called “HotJava” to locate and
run Applets. Hot-Java gained instance success.
JAVA – Milestones
Year Development
1995 Oak was renamed to JAVA, due to some legal snags. JAVA is just a
name and is not a acronym. Many companies such as Netscape and
Microsoft announced their support for Java
1996 Java established itself ias both 1. “the language for Internet
programming” 2. a general purpose OO language. Sun released JDK
1.0
1997 JDK 1.1
1998 Sun released the Java 2 with version 1.2 of Software Development Kit
(SDK 1.2)
1999 2 platforms were released J2SE(Standard Edition), J2EE(Enterprises
Edition)
2000 and SDK 1.3 and SDK 1.4
2002
2004 J2SE with JDK 5.0 was released. This is know as J2SE 5.0
JAVA – Features
Simple
Object-Oriented
Portable
Robust
JAVA – Features
Robust
JAVA – Features
Robust
JAVA – Features
Simple
Object-Oriented
JAVA combines both these
approaches thus making JAVA
Compiled and Interpreted a two stage system. First, JAVA
compiler translates source
Portable code into byte code which is
not machine code. In the
Robust second stage java interpreter
generates machine code that
can be directly executed by the
machine that is running the
JAVA program.
JAVA – Features
Simple
Object-Oriented
Portable
Java programs are portable.
Robust They can be run on any
platform without being
recompiled.
JAVA – Features
Simple
Object-Oriented
A program written in a high-level language must be translated into machine language before it
can be executed on a particular type of CPU
A compiler is a software tool which translates source code into a specific target language.
Typically, that target language is the machine language for a particular CPU type
source machine
compiler
code code
e.g.,
c, c++ gcc intel x86
HelloWorld.c HelloWorld.exe
JAVA Compilation and Interpretation
JAVA Translation:
Hardware and
Programmer
Operating System
The most significant contribution of JAVA over other languages is its portability.
JAVA programs can be easily moved from one computer system to another, anywhere and
anytime.
Changes and upgrades in operating systems, preprocessors and system resources will not
force any changes in JAVA programs. This is the reason why JAVA has become a popular
language for programming on internet which interconnects different kinds of systems
worldwide.
JAVA Platform Independence
JAVA COMPILER
(translator)
JAVA INTERPRETER
(one for each different system)
Java Programmable
RoboJDE™ java enabled robotics
software development environment
Makes developing, debugging robotics
program a snap
Some Sample Java Based Applications
Star Office 5.2 :