Java-Introduction Lecture Part 1
Java-Introduction Lecture Part 1
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
https://www.tiobe.com/tiobe-index/
9
Java platform
public class HelloWorld
{
public static void main( String [] args )
{
System.out.println(“hello”);
}
}
Java Program ( Class File )
Java Platform
HelloWorld.jav Windows NT Java
a API
Compile
Java Java Virtual Machine
javac
Interpreter
Hardware-Based Platform
2387D47803
A96C16A484 Java
54B646F541
06515EE464 Bytecode
Java
Interpreter
HelloWorld.class
Power Macintosh
Prepared By - Rifat Shahriyar 10
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