Core Java

Debasish Pratihari

The Java Language Specification (JLS)


This specification describes all the aspects of th...
Core Java

Debasish Pratihari

Java SE Development Kit



Development Tools
 Javac
 Java
 Javadoc



Application Prog...
Core Java

Debasish Pratihari

JDK Directory Structure (window)

JDK 1.6.0

bin

lib
java.exe

jre

src

tools.jar
dt.jar
...
Core Java

Debasish Pratihari

Java Tools
Executable

Tool Name

Description

appletviewer

Java applet
viewer

Displays a...
Upcoming SlideShare
Loading in...5
×

Lecture 2

216

Published on

Notes on core java

Published in: Technology, News & Politics
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
216
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
25
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Lecture 2"

  1. 1. Core Java Debasish Pratihari The Java Language Specification (JLS)  This specification describes all the aspects of the java programming language including the semantics, statements, and expressions, threads and a lot more.  Written by the inventor of java technology o James Gosling o Bill Joy o Guy Steele o Gilad Bracha What is Platform ? A platform is the hardware and software environment in which a program runs. Java Platform :  Java Virtual Machine (JVM)  Java Programming Interface (Java API)  Is a large collection of ready-made software components that provides many useful capabilities.  It is grouped into libraries of related classes and interfaces. These libraries are known as Packages. Lecture/core/intro2/02 Page #1 feel the Technology…
  2. 2. Core Java Debasish Pratihari Java SE Development Kit  Development Tools  Javac  Java  Javadoc  Application Programming Interface  Deployment Technology  JavaWebStart  Java Plug-in Software  User Interface Toolkit  Swing  AWT  Java 2D  Integration     Java Runtime Environment Libraries JDBC RMI JNI Java Runtime Environment (JRE) The JRE contains libraries, java virtual machine and other resources required to enable java applications and applets to run. JRE = JVM + Java Packages Classes(like util, math, lang, awt,swing etc)+runtime libraries. Lecture/core/intro2/02 Page #2 feel the Technology…
  3. 3. Core Java Debasish Pratihari JDK Directory Structure (window) JDK 1.6.0 bin lib java.exe jre src tools.jar dt.jar javac.exe javah.exe javadoc.exe javap.exe bin lib java.exe rt.jar charset.jar java.dll ext awt.dll client localedata.jar jvm.dll secutirty server jvm.dll applet fonts Java Architecture The Java architecture consists of the following four components:  Java programming language  Java class file  Java Application Programming Interface (Java API)  Java Virtual Machine (JVM) Lecture/core/intro2/02 Page #3 feel the Technology…
  4. 4. Core Java Debasish Pratihari Java Tools Executable Tool Name Description appletviewer Java applet viewer Displays applets. java Java interpreter Runs Java bytecode. javac Java compiler Compiles Java programs into bytecode. javadoc Java documentation generator Creates documentation in HTML format from Java source code. javah Java header and stubs file generator Creates C language header and stubs files from a Java class. javap Java class file disassembler Disassembles Java files and prints out a representation of Java bytecode. jdb Java language debugger Finds problems in your Java code. Java Run-Time Environment Java Source code javac Java Object code Java Compiler Java The program is executed By the interpreter The interpreter handles all communication with the operating system for the real machine Lecture/core/intro2/02 Java Virtual Machine Java Interpreter Object Code is Verified and loaded into the Java Virtual Machine Computer Operating System Page #4 feel the Technology…

×