1 / 9

Java

Application Programs. Java Application. API. Java APIs. Kernel. JVM. HW. Java. Java Java Virtual Machine (JVM) Java Application Program Interface (API). Java APIs. Client-Side applications Server-Side applications Client/Server applications Internet (Web) applications.

lynda
Download Presentation

Java

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Application Programs Java Application API Java APIs Kernel JVM HW Java • Java • Java Virtual Machine (JVM) • Java Application Program Interface (API) e-business and Information Systems

  2. Java APIs Client-Side applications Server-Side applications Client/Server applications Internet (Web) applications e-business and Information Systems

  3. JAVA Compiler Java Compiler Java Byte Code Source Code javac Executable by JVM Readable by human e-business and Information Systems

  4. Java Byte Code JAVA Virtual Machine (JVM) Windows OS JVM for Windows JVM for Linux Linux OS interpreter java Mac OS JVM for Mac Executable by JVM HP OS JVM for HP JVM - JRE e-business and Information Systems

  5. JavaSoftware Development Kit • Download and install: • SDK 1.3 or higher • Commands in bin directory: • javac – java compiler • java - execution • jar – java zip/tar e-business and Information Systems

  6. Java Example:Source Code //File: HelloWorld.java import java.io.*; publicclass HelloWorld { publicstaticvoid main(String[] args){ System.out.println("Hello World!"); } //End of main } //End of class e-business and Information Systems

  7. Java Example:Generate Byte Code Source Code: HelloWorld.java Set Path: set path=c:\sdk1.3\bin;%path% Compile: javac HelloWorld.java Byte code: HelloWorld.class e-business and Information Systems

  8. Java Example:Execute ByteCode java HelloWorld e-business and Information Systems

  9. Java Example:Windows98 - DOS e-business and Information Systems

More Related