Java Introduction
Java Introduction
Introduction
History of Java
• Java was originally developed by Sun Microsystems
starting in 1991
– James Gosling
– Patrick Naughton
– Chris Warth
– Ed Frank
– Mike Sheridan
• This language was initially called Oak
• Renamed Java in 1995
Java Platform
HelloWorld.java Windows NT Java API
Compile
javac
Java Java Virtual Machine
Interpreter
Hardware-Based Platform
2387D47803
A96C16A484 Java
54B646F541
06515EE464 Bytecode
Java
Interpreter
HelloWorld.class
Power Macintosh
Prepared By - Rifat Shahriyar
Java Development Environment
• Edit
– Create/edit the source code
• Compile
– Compile the source code
• Load
– Load the compiled code
• Verify
– Check against security restrictions
• Execute
– Execute the compiled
Prepared By - Rifat Shahriyar
Phase 1: Creating a Program
• Any text editor or Java IDE (Integrated Development
Environment) can be used to develop Java programs
• Java source‐code file names must end with the .java
extension
• Some popular Java IDEs are
– NetBeans
– Eclipse
– IntelliJ